Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

YEMap Class Reference

#include <YExpression.h>

Inheritance diagram for YEMap:

YCode Rep List of all members.

Public Member Functions

 YEMap (YCodePtr key, YCodePtr value)
 YEMap (std::istream &str)
 ~YEMap ()
void attach (YCodePtr key, YCodePtr value)
string toString () const
YCPValue evaluate (bool cse=false)
std::ostream & toStream (std::ostream &str) const
constTypePtr type () const

Private Types

typedef YEMap::mapval mapval_t

Private Member Functions

 REP_BODY (YEMap)

Private Attributes

mapval_tm_first

Member Typedef Documentation

typedef struct YEMap::mapval YEMap::mapval_t [private]
 


Constructor & Destructor Documentation

YEMap::YEMap YCodePtr  key,
YCodePtr  value
 

YEMap::YEMap std::istream &  str  ) 
 

YEMap::~YEMap  ) 
 


Member Function Documentation

void YEMap::attach YCodePtr  key,
YCodePtr  value
 

YCPValue YEMap::evaluate bool  cse = false  )  [virtual]
 

evaluate YCode to YCPValue if debugger == 0 called for parse time evaluation (i.e. constant subexpression elimination) else called for runtime evaluation

Reimplemented from YCode.

YEMap::REP_BODY YEMap   )  [private]
 

std::ostream & YEMap::toStream std::ostream &  str  )  const [virtual]
 

writes YCode to a stream see Bytecode for read

Implements YCode.

string YEMap::toString  )  const [virtual]
 

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

constTypePtr YEMap::type  )  const [inline, virtual]
 

return type (interesting mostly for function calls)

Reimplemented from YCode.


Member Data Documentation

mapval_t* YEMap::m_first [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6