#include <Bytecode.h>
Static Public Member Functions | |
| static std::ostream & | writeBool (std::ostream &streamref, bool value) |
| static bool | readBool (bytecodeistream &streamref) |
| static std::ostream & | writeString (std::ostream &streamref, const std::string &stringref) |
| static bool | readString (bytecodeistream &streamref, std::string &stringref) |
| static std::ostream & | writeUstring (std::ostream &streamref, const Ustring ustringref) |
| static Ustring | readUstring (bytecodeistream &streamref) |
| static std::ostream & | writeCharp (std::ostream &streamref, const char *charp) |
| static char * | readCharp (bytecodeistream &streamref) |
| static std::ostream & | writeBytep (std::ostream &streamref, const unsigned char *bytep, unsigned int len) |
| static unsigned char * | readBytep (bytecodeistream &streamref) |
| static std::ostream & | writeInt32 (std::ostream &str, const u_int32_t value) |
| static u_int32_t | readInt32 (bytecodeistream &str) |
| static std::ostream & | writeType (std::ostream &str, constTypePtr type) |
| static TypePtr | readType (bytecodeistream &str) |
| static std::ostream & | writeValue (std::ostream &str, const YCPValue value) |
| static YCPValue | readValue (bytecodeistream &str) |
| static std::ostream & | writeYCodelist (std::ostream &str, const ycodelist_t *codelist) |
| static bool | readYCodelist (bytecodeistream &str, ycodelist_t **anchor) |
| static void | namespaceInit () |
| static int | namespaceId (const Y2Namespace *name_space) |
| static const Y2Namespace * | namespacePtr (int namespace_id) |
| static int | pushNamespace (const Y2Namespace *name_space, bool with_xrefs=false) |
| static int | popNamespace (const Y2Namespace *name_space) |
| static void | popUptoNamespace (const Y2Namespace *name_space) |
| static int | tareStack () |
| static void | untareStack (int tare_id) |
| static std::ostream & | writeEntry (std::ostream &str, const SymbolEntryPtr entry) |
| static SymbolEntryPtr | readEntry (bytecodeistream &str) |
| static YCodePtr | readCode (bytecodeistream &str) |
| static YBlockPtr | readModule (const string &mname) |
| static YCodePtr | readFile (const string &filename) |
| static bool | writeFile (const YCodePtr code, const string &filename) |
Static Private Attributes | |
| static int | m_namespace_nesting_level |
| static int | m_namespace_nesting_array_size |
| static int | m_namespace_tare_level |
| static namespaceentry_t * | m_namespace_nesting_array |
| static map< string, YBlockPtr > * | m_bytecodeCache |
Classes | |
| class | Invalid |
| struct | namespaceentry_t |
| references to namespaces More... | |
| std::ostream & Bytecode::writeBool | ( | std::ostream & | streamref, | |
| bool | value | |||
| ) | [static] |
| bool Bytecode::readBool | ( | bytecodeistream & | streamref | ) | [static] |
| static std::ostream& Bytecode::writeString | ( | std::ostream & | streamref, | |
| const std::string & | stringref | |||
| ) | [static] |
| static bool Bytecode::readString | ( | bytecodeistream & | streamref, | |
| std::string & | stringref | |||
| ) | [static] |
| std::ostream & Bytecode::writeUstring | ( | std::ostream & | streamref, | |
| const Ustring | ustringref | |||
| ) | [static] |
| Ustring Bytecode::readUstring | ( | bytecodeistream & | streamref | ) | [static] |
| std::ostream & Bytecode::writeCharp | ( | std::ostream & | streamref, | |
| const char * | charp | |||
| ) | [static] |
| char * Bytecode::readCharp | ( | bytecodeistream & | streamref | ) | [static] |
| std::ostream & Bytecode::writeBytep | ( | std::ostream & | streamref, | |
| const unsigned char * | bytep, | |||
| unsigned int | len | |||
| ) | [static] |
| unsigned char * Bytecode::readBytep | ( | bytecodeistream & | streamref | ) | [static] |
| std::ostream & Bytecode::writeInt32 | ( | std::ostream & | str, | |
| const u_int32_t | value | |||
| ) | [static] |
| u_int32_t Bytecode::readInt32 | ( | bytecodeistream & | str | ) | [static] |
| std::ostream & Bytecode::writeType | ( | std::ostream & | str, | |
| constTypePtr | type | |||
| ) | [static] |
| TypePtr Bytecode::readType | ( | bytecodeistream & | str | ) | [static] |
| std::ostream & Bytecode::writeValue | ( | std::ostream & | str, | |
| const YCPValue | value | |||
| ) | [static] |
| YCPValue Bytecode::readValue | ( | bytecodeistream & | str | ) | [static] |
| std::ostream & Bytecode::writeYCodelist | ( | std::ostream & | str, | |
| const ycodelist_t * | codelist | |||
| ) | [static] |
| bool Bytecode::readYCodelist | ( | bytecodeistream & | str, | |
| ycodelist_t ** | anchor | |||
| ) | [static] |
| void Bytecode::namespaceInit | ( | ) | [static] |
| int Bytecode::namespaceId | ( | const Y2Namespace * | name_space | ) | [static] |
| const Y2Namespace * Bytecode::namespacePtr | ( | int | namespace_id | ) | [static] |
| int Bytecode::pushNamespace | ( | const Y2Namespace * | name_space, | |
| bool | with_xrefs = false | |||
| ) | [static] |
| int Bytecode::popNamespace | ( | const Y2Namespace * | name_space | ) | [static] |
| void Bytecode::popUptoNamespace | ( | const Y2Namespace * | name_space | ) | [static] |
| int Bytecode::tareStack | ( | ) | [static] |
| void Bytecode::untareStack | ( | int | tare_id | ) | [static] |
| std::ostream & Bytecode::writeEntry | ( | std::ostream & | str, | |
| const SymbolEntryPtr | entry | |||
| ) | [static] |
| SymbolEntryPtr Bytecode::readEntry | ( | bytecodeistream & | str | ) | [static] |
| YCodePtr Bytecode::readCode | ( | bytecodeistream & | str | ) | [static] |
| YBlockPtr Bytecode::readModule | ( | const string & | mname | ) | [static] |
| YCodePtr Bytecode::readFile | ( | const string & | filename | ) | [static] |
| bool Bytecode::writeFile | ( | const YCodePtr | code, | |
| const string & | filename | |||
| ) | [static] |
int Bytecode::m_namespace_nesting_level [static, private] |
int Bytecode::m_namespace_nesting_array_size [static, private] |
int Bytecode::m_namespace_tare_level [static, private] |
Bytecode::namespaceentry_t * Bytecode::m_namespace_nesting_array [static, private] |
map< string, YBlockPtr > * Bytecode::m_bytecodeCache [static, private] |
1.5.0