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

Bytecode Class Reference

#include <Bytecode.h>

List of all members.

Static Public Member Functions

std::ostream & writeBool (std::ostream &streamref, bool value)
bool readBool (std::istream &streamref)
std::ostream & writeString (std::ostream &streamref, const std::string &stringref)
bool readString (std::istream &streamref, std::string &stringref)
std::ostream & writeUstring (std::ostream &streamref, const Ustring ustringref)
Ustring readUstring (std::istream &streamref)
std::ostream & writeCharp (std::ostream &streamref, const char *charp)
char * readCharp (std::istream &streamref)
std::ostream & writeBytep (std::ostream &streamref, const unsigned char *bytep, unsigned int len)
unsigned char * readBytep (std::istream &streamref)
std::ostream & writeInt32 (std::ostream &str, const u_int32_t value)
u_int32_t readInt32 (std::istream &str)
std::ostream & writeType (std::ostream &str, constTypePtr type)
TypePtr readType (std::istream &str)
std::ostream & writeValue (std::ostream &str, const YCPValue value)
YCPValue readValue (std::istream &str)
std::ostream & writeYCodelist (std::ostream &str, const ycodelist_t *codelist)
bool readYCodelist (std::istream &str, ycodelist_t **anchor)
void namespaceInit ()
int namespaceId (const Y2Namespace *name_space)
const Y2NamespacenamespacePtr (int namespace_id)
int pushNamespace (const Y2Namespace *name_space, bool with_xrefs=false)
int popNamespace (const Y2Namespace *name_space)
void popUptoNamespace (const Y2Namespace *name_space)
int tareStack ()
void untareStack (int tare_id)
std::ostream & writeEntry (std::ostream &str, const SymbolEntryPtr entry)
SymbolEntryPtr readEntry (std::istream &str)
YCodePtr readCode (std::istream &str)
YBlockPtr readModule (const string &mname)
YCodePtr readFile (const string &filename)
bool writeFile (const YCodePtr code, const string &filename)

Static Private Attributes

int m_namespace_nesting_level = -1
int m_namespace_nesting_array_size = 0
int m_namespace_tare_level = 0
namespaceentry_tm_namespace_nesting_array = 0
map< string, YBlockPtr > m_bytecodeCache


Member Function Documentation

int Bytecode::namespaceId const Y2Namespace name_space  )  [static]
 

void Bytecode::namespaceInit  )  [static]
 

const Y2Namespace * Bytecode::namespacePtr int  namespace_id  )  [static]
 

int Bytecode::popNamespace const Y2Namespace name_space  )  [static]
 

void Bytecode::popUptoNamespace const Y2Namespace name_space  )  [static]
 

int Bytecode::pushNamespace const Y2Namespace name_space,
bool  with_xrefs = false
[static]
 

bool Bytecode::readBool std::istream &  streamref  )  [static]
 

unsigned char * Bytecode::readBytep std::istream &  streamref  )  [static]
 

char * Bytecode::readCharp std::istream &  streamref  )  [static]
 

YCodePtr Bytecode::readCode std::istream &  str  )  [static]
 

SymbolEntryPtr Bytecode::readEntry std::istream &  str  )  [static]
 

YCodePtr Bytecode::readFile const string &  filename  )  [static]
 

u_int32_t Bytecode::readInt32 std::istream &  str  )  [static]
 

YBlockPtr Bytecode::readModule const string &  mname  )  [static]
 

bool Bytecode::readString std::istream &  streamref,
std::string &  stringref
[static]
 

TypePtr Bytecode::readType std::istream &  str  )  [static]
 

Ustring Bytecode::readUstring std::istream &  streamref  )  [static]
 

YCPValue Bytecode::readValue std::istream &  str  )  [static]
 

bool Bytecode::readYCodelist std::istream &  str,
ycodelist_t **  anchor
[static]
 

int Bytecode::tareStack  )  [static]
 

void Bytecode::untareStack int  tare_id  )  [static]
 

std::ostream & Bytecode::writeBool std::ostream &  streamref,
bool  value
[static]
 

std::ostream & Bytecode::writeBytep std::ostream &  streamref,
const unsigned char *  bytep,
unsigned int  len
[static]
 

std::ostream & Bytecode::writeCharp std::ostream &  streamref,
const char *  charp
[static]
 

std::ostream & Bytecode::writeEntry std::ostream &  str,
const SymbolEntryPtr  entry
[static]
 

bool Bytecode::writeFile const YCodePtr  code,
const string &  filename
[static]
 

std::ostream & Bytecode::writeInt32 std::ostream &  str,
const u_int32_t  value
[static]
 

std::ostream & Bytecode::writeString std::ostream &  streamref,
const std::string &  stringref
[static]
 

std::ostream & Bytecode::writeType std::ostream &  str,
constTypePtr  type
[static]
 

std::ostream & Bytecode::writeUstring std::ostream &  streamref,
const Ustring  ustringref
[static]
 

std::ostream & Bytecode::writeValue std::ostream &  str,
const YCPValue  value
[static]
 

std::ostream & Bytecode::writeYCodelist std::ostream &  str,
const ycodelist_t codelist
[static]
 


Member Data Documentation

map< string, YBlockPtr > Bytecode::m_bytecodeCache [static, private]
 

Bytecode::namespaceentry_t * Bytecode::m_namespace_nesting_array = 0 [static, private]
 

int Bytecode::m_namespace_nesting_array_size = 0 [static, private]
 

int Bytecode::m_namespace_nesting_level = -1 [static, private]
 

int Bytecode::m_namespace_tare_level = 0 [static, private]
 


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