An istream that remembers some data about the xmlcode. More...
#include <Xmlcode.h>
Inherits std::ifstream.
Public Member Functions | |
xmlcodeistream (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 xmlcode.
xmlcodeistream::xmlcodeistream | ( | string | filename | ) |
bool xmlcodeistream::isVersion | ( | int | major, | |
int | minor, | |||
int | revision | |||
) |
References m_major, m_minor, and m_release.
Referenced by Xmlcode::readCode(), and Xmlcode::readFile().
bool xmlcodeistream::isVersionAtMost | ( | int | major, | |
int | minor, | |||
int | revision | |||
) |
int xmlcodeistream::major | ( | ) | const [inline] |
References m_major.
Referenced by Xmlcode::readFile().
int xmlcodeistream::minor | ( | ) | const [inline] |
References m_minor.
Referenced by Xmlcode::readFile().
int xmlcodeistream::release | ( | ) | const [inline] |
References m_release.
Referenced by Xmlcode::readFile().
int xmlcodeistream::m_major [private] |
Referenced by isVersion(), isVersionAtMost(), major(), and xmlcodeistream().
int xmlcodeistream::m_minor [private] |
Referenced by isVersion(), isVersionAtMost(), minor(), and xmlcodeistream().
int xmlcodeistream::m_release [private] |
Referenced by isVersion(), isVersionAtMost(), release(), and xmlcodeistream().