Changeset 13041 for OpenSceneGraph/trunk/include/osgDB/DataTypes
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgDB/DataTypes (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgDB/DataTypes
r12845 r13041 91 91 ObjectProperty( const char* name, int value=0, bool useMap=false ) 92 92 : _name(name), _value(value), _mapProperty(useMap) {} 93 93 94 94 ObjectProperty( const ObjectProperty& copy ) 95 95 : _name(copy._name), _value(copy._value), _mapProperty(copy._mapProperty) {} 96 96 97 97 ObjectProperty& proto( const char* name ) 98 98 { _name = name; return *this; } 99 99 100 100 void set( int v ) { _value = v; } 101 101 int get() const { return _value; } 102 102 103 103 std::string _name; 104 104 int _value; … … 120 120 ObjectMark( const char* name, int delta=0 ) 121 121 : _name(name), _indentDelta(delta) {} 122 122 123 123 ObjectMark( const ObjectMark& copy ) 124 124 : _name(copy._name), _indentDelta(copy._indentDelta) {} 125 125 126 126 std::string _name; 127 127 int _indentDelta;
