|
Developer Documentation
|
Set options for reader/writer modules. More...
Public Types | |
| enum | Flag { Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400, Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400, Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400 } |
| enum | Flag { Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400, Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400, Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400 } |
| enum | Flag { Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400, Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400, Default = 0x0000, Binary = 0x0001, MSB = 0x0002, LSB = 0x0004, Swap = 0x0006, VertexNormal = 0x0010, VertexColor = 0x0020, VertexTexCoord = 0x0040, EdgeColor = 0x0080, FaceNormal = 0x0100, FaceColor = 0x0200, ColorAlpha = 0x0400 } |
| typedef int | enum_type |
| typedef enum_type | value_type |
| typedef int | enum_type |
| typedef enum_type | value_type |
| typedef int | enum_type |
| typedef enum_type | value_type |
Public Member Functions | |
| Options () | |
| Default constructor. | |
| Options (const Options &_opt) | |
| Copy constructor. | |
| Options (Flag _flg) | |
| Initializing constructor setting a single option. | |
| Options (const value_type _flgs) | |
| Initializing constructor setting multiple options. | |
| void | cleanup (void) |
| Restore state after default constructor. | |
| void | clear (void) |
| Clear all bits. | |
| bool | is_empty (void) const |
| Returns true if all bits are zero. | |
| bool | check (const value_type _rhs) const |
| bool | is_binary () const |
| bool | vertex_has_normal () const |
| bool | vertex_has_color () const |
| bool | vertex_has_texcoord () const |
| bool | edge_has_color () const |
| bool | face_has_normal () const |
| bool | face_has_color () const |
| bool | color_has_alpha () const |
| bool | operator== (const value_type _rhs) const |
| Returns true if _rhs has the same options enabled. | |
| bool | operator!= (const value_type _rhs) const |
| Returns true if _rhs does not have the same options enabled. | |
| operator value_type () const | |
| Returns the option set. | |
| Options () | |
| Default constructor. | |
| Options (const Options &_opt) | |
| Copy constructor. | |
| Options (Flag _flg) | |
| Initializing constructor setting a single option. | |
| Options (const value_type _flgs) | |
| Initializing constructor setting multiple options. | |
| void | cleanup (void) |
| Restore state after default constructor. | |
| void | clear (void) |
| Clear all bits. | |
| bool | is_empty (void) const |
| Returns true if all bits are zero. | |
| bool | check (const value_type _rhs) const |
| bool | is_binary () const |
| bool | vertex_has_normal () const |
| bool | vertex_has_color () const |
| bool | vertex_has_texcoord () const |
| bool | edge_has_color () const |
| bool | face_has_normal () const |
| bool | face_has_color () const |
| bool | color_has_alpha () const |
| bool | operator== (const value_type _rhs) const |
| Returns true if _rhs has the same options enabled. | |
| bool | operator!= (const value_type _rhs) const |
| Returns true if _rhs does not have the same options enabled. | |
| operator value_type () const | |
| Returns the option set. | |
| Options () | |
| Default constructor. | |
| Options (const Options &_opt) | |
| Copy constructor. | |
| Options (Flag _flg) | |
| Initializing constructor setting a single option. | |
| Options (const value_type _flgs) | |
| Initializing constructor setting multiple options. | |
| void | cleanup (void) |
| Restore state after default constructor. | |
| void | clear (void) |
| Clear all bits. | |
| bool | is_empty (void) const |
| Returns true if all bits are zero. | |
| bool | check (const value_type _rhs) const |
| bool | is_binary () const |
| bool | vertex_has_normal () const |
| bool | vertex_has_color () const |
| bool | vertex_has_texcoord () const |
| bool | edge_has_color () const |
| bool | face_has_normal () const |
| bool | face_has_color () const |
| bool | color_has_alpha () const |
| bool | operator== (const value_type _rhs) const |
| Returns true if _rhs has the same options enabled. | |
| bool | operator!= (const value_type _rhs) const |
| Returns true if _rhs does not have the same options enabled. | |
| operator value_type () const | |
| Returns the option set. | |
| Options & | operator= (const Options &_rhs) |
| Copy options defined in _rhs. | |
| Options & | operator= (const value_type _rhs) |
| Copy options defined in _rhs. | |
| Options & | operator-= (const value_type _rhs) |
| Unset options defined in _rhs. | |
| Options & | unset (const value_type _rhs) |
| Unset options defined in _rhs. | |
| Options & | operator+= (const value_type _rhs) |
| Set options defined in _rhs. | |
| Options & | set (const value_type _rhs) |
| Set options defined in _rhs. | |
| Options & | operator= (const Options &_rhs) |
| Copy options defined in _rhs. | |
| Options & | operator= (const value_type _rhs) |
| Copy options defined in _rhs. | |
| Options & | operator-= (const value_type _rhs) |
| Unset options defined in _rhs. | |
| Options & | unset (const value_type _rhs) |
| Unset options defined in _rhs. | |
| Options & | operator+= (const value_type _rhs) |
| Set options defined in _rhs. | |
| Options & | set (const value_type _rhs) |
| Set options defined in _rhs. | |
| Options & | operator= (const Options &_rhs) |
| Copy options defined in _rhs. | |
| Options & | operator= (const value_type _rhs) |
| Copy options defined in _rhs. | |
| Options & | operator-= (const value_type _rhs) |
| Unset options defined in _rhs. | |
| Options & | unset (const value_type _rhs) |
| Unset options defined in _rhs. | |
| Options & | operator+= (const value_type _rhs) |
| Set options defined in _rhs. | |
| Options & | set (const value_type _rhs) |
| Set options defined in _rhs. | |
Private Member Functions | |
| bool | operator&& (const value_type _rhs) const |
| bool | operator&& (const value_type _rhs) const |
| bool | operator&& (const value_type _rhs) const |
Private Attributes | |
| value_type | flags_ |
Set options for reader/writer modules.
The class is used in a twofold way.
The option are defined in Options::Flag as bit values and stored in an int value as a bitset.
Definition at line 88 of file MeshNode2T.cc.
Definitions of Options for reading and writing. The options can be or'ed.
Definition at line 96 of file MeshNode2T.cc.
Definitions of Options for reading and writing. The options can be or'ed.
Definition at line 96 of file MeshNode2T.cc.
Definitions of Options for reading and writing. The options can be or'ed.
Definition at line 96 of file MeshNode2T.cc.