yast2-core
|
An istream that remembers some data about the bytecode. More...
#include <Bytecode.h>
Public Member Functions | |
bytecodeistream (string filename) | |
bool | isVersion (int major, int minor, int revision) |
bool | isVersionAtMost (int major, int minor, int revision) |
int | major () const |
int | minor () const |
int | release () const |
Private Attributes | |
int | m_major |
int | m_minor |
int | m_release |
An istream that remembers some data about the bytecode.
bytecodeistream::bytecodeistream | ( | string | filename | ) |
bool bytecodeistream::isVersion | ( | int | major, |
int | minor, | ||
int | revision | ||
) |
References m_major, m_minor, and m_release.
Referenced by YECall::readCall(), Bytecode::readCode(), and Bytecode::readFile().
bool bytecodeistream::isVersionAtMost | ( | int | major, |
int | minor, | ||
int | revision | ||
) |
|
inline |
References m_major.
Referenced by Bytecode::readFile().
|
inline |
References m_minor.
Referenced by Bytecode::readFile().
|
inline |
References m_release.
Referenced by Bytecode::readFile().
|
private |
Referenced by bytecodeistream(), isVersion(), isVersionAtMost(), and major().
|
private |
Referenced by bytecodeistream(), isVersion(), isVersionAtMost(), and minor().
|
private |
Referenced by bytecodeistream(), isVersion(), isVersionAtMost(), and release().