libsurf
Programmer's Documentation
Public Types | |
enum | Code { length_measure, mass_measure, plane_angle_measure, solid_angle_measure, area_measure, volume_measure, parameter_value, context_dependent_measure, descriptive_measure, positive_length_measure, positive_plane_angle_measure, count_measure } |
![]() | |
enum | ValueType { NotSet, Real, Integer, EntityId, String } |
enumeration to indicate the content type (primitive or entity) | |
Public Member Functions | |
bool | read (StepFileLine &line) |
void | write (std::ostream &os) const |
![]() | |
StepSelect () | |
default: invalid object | |
bool | valid () const |
determine whether object was defined or not | |
Public Attributes | |
StepMeasureValue::Code | value |
![]() | |
std::string | m_string |
string content, set only if type == String | |
double | m_real |
real-valued content, set only if type == Real | |
int | m_int |
int-valued content, set only if type == Integer | |
StepID | m_id |
entity content, set only if type == EntityId | |
ValueType | type |
content type indication | |
int | keyIndex |
key index | |
Static Private Attributes | |
static const char * | stringrep [] |
Additional Inherited Members | |
![]() | |
bool | read (StepFileLine &line, int lval, const char *stringrep[]) |
extract a SELECT value from line, called by child class | |
void | write (std::ostream &os, const char *stringrep[]) const |
write if defined | |
|
staticprivate |