Single line in STEP file.
|
| StepFileLine (const char *s) |
| initialize with pointer to first character
|
|
StepFileLine & | operator++ () |
| increment cursor
|
|
const char * | current () const |
| current cursor location
|
|
void | move (const char *pos) |
| place cursor at pos
|
|
uint | entityId () |
| retrieve entity ID and place cursor on content after "=("
|
|
bool | skipAttr () |
| skip one attribute
|
|
const char * | entityType () |
| locate entity type
|
|
uint | entityType (std::string &etype) |
| copy entity type to buffer
|
|
bool | option () const |
| check whether an optional attribute is present
|
|
bool | parseBool (bool &x) |
| parse a boolean value
|
|
bool | parseId (StepID &x) |
| parse a single entity id
|
|
bool | parseInt (int &x) |
| parse single integer value
|
|
bool | parseFloat (double &x) |
| parse single float value
|
|
bool | parseString (std::string &attr) |
| parse a string attribute
|
|
bool | parseEnum (const char **beg, const char **end) |
| parse an enum string
|
|
bool | parseSelect (const char **beg, const char **end) |
| parse a select string
|
|
bool | parseIdArray (StepIDArray &x) |
| retrieve a list of IDs
|
|
bool | parseIntArray (StepIntArray &x) |
| retrieve a list of IDs
|
|
bool | parseFloatArray (StepRealArray &x) |
| retrieve a list of real values
|
|
bool | parseStringArray (StepStringArray &x) |
| retrieve a list of strings
|
|
bool | parseIDMatrix (StepIDMatrix &x) |
| retrieve a matrix of IDs
|
|
bool | parseFloatMatrix (StepRealMatrix &x) |
| retrieve a matrix of real values
|
|
template<int N> |
bool | parseFloats (double val[]) |
| retrieve a fixed-size list of real values
|
|
template<int N> |
bool | parseInts (int val[]) |
| retrieve a fixed-size list of integer values
|
|
template<int N> |
bool | parseIds (StepID val[]) |
| retrieve a fixed-size list of integer values
|
|
bool | readAttr (bool &x) |
|
bool | readAttr (int &x) |
|
bool | readAttr (StepID &x) |
|
bool | readAttr (double &x) |
|
bool | readAttr (std::string &x) |
|
bool | readAttr (StepIntArray &x) |
|
bool | readAttr (StepIDArray &x) |
|
bool | readAttr (StepStringArray &x) |
|
bool | readAttr (StepRealArray &x) |
|
bool | readAttr (StepIDMatrix &x) |
|
bool | readAttr (StepRealMatrix &x) |
|
template<int N> |
bool | readArrayAttr (int x[]) |
|
template<int N> |
bool | readArrayAttr (StepID x[]) |
|
template<int N> |
bool | readArrayAttr (double x[]) |
|
template<class EnumType > |
bool | readEnumArray (std::vector< EnumType > &ev) |
|
template<int N, class EnumType > |
bool | readEnumArray (EnumType ev[]) |
|
template<class EnumType > |
bool | readSelectArray (std::vector< EnumType > &ev) |
|
template<int N, class EnumType > |
bool | readSelectArray (EnumType ev[]) |
|
StepListRep | parseList () |
| low-level access : extract a list, set cursor to its end
|
|
|
static void | writeAttr (std::ostream &os, bool x) |
| write attribute
|
|
static void | writeAttr (std::ostream &os, int x) |
| write attribute
|
|
static void | writeAttr (std::ostream &os, StepID x, char cundef='*') |
| write attribute
|
|
static void | writeAttr (std::ostream &os, double x) |
| write attribute
|
|
static void | writeAttr (std::ostream &os, const std::string &x) |
| write attribute
|
|
static void | writeAttr (std::ostream &os, const StepIntArray &x) |
| write attribute array
|
|
static void | writeAttr (std::ostream &os, const StepIDArray &x) |
| write attribute array
|
|
static void | writeAttr (std::ostream &os, const StepRealArray &x) |
| write attribute array
|
|
static void | writeAttr (std::ostream &os, const StepStringArray &x) |
| write attribute array
|
|
static void | writeAttr (std::ostream &os, const StepIDMatrix &x) |
| write attribute array
|
|
static void | writeAttr (std::ostream &os, const StepRealMatrix &x) |
| write attribute array
|
|
template<int N> |
static void | writeArrayAttr (std::ostream &os, const int x[]) |
|
template<int N> |
static void | writeArrayAttr (std::ostream &os, const StepID x[]) |
|
template<int N> |
static void | writeArrayAttr (std::ostream &os, const double x[]) |
|
template<class EnumType > |
static void | writeEnumArray (std::ostream &os, const std::vector< EnumType > &ev) |
|
template<int N, class EnumType > |
static void | writeEnumArray (std::ostream &os, const EnumType ev[]) |
|
template<class EnumType > |
static void | writeSelectArray (std::ostream &os, const std::vector< EnumType > &ev) |
|
template<int N, class EnumType > |
static void | writeSelectArray (std::ostream &os, const EnumType ev[]) |
|