Collaboration diagram for CEGUI::Dimension:
Public Member Functions | |
Dimension () | |
Constructor. | |
~Dimension () | |
Destructor. | |
Dimension (const BaseDim &dim, DimensionType type) | |
Constructor. | |
Dimension (const Dimension &other) | |
Copy constructor. | |
Dimension & | operator= (const Dimension &other) |
Assignment operator. | |
const BaseDim & | getBaseDimension () const |
return the BaseDim object currently used as the value for this Dimension. | |
void | setBaseDimension (const BaseDim &dim) |
set the current value for this Dimension. | |
DimensionType | getDimensionType () const |
Return a DimensionType value indicating what this Dimension represents. | |
void | setDimensionType (DimensionType type) |
Sets what this Dimension represents. | |
void | writeXMLToStream (OutStream &out_stream) const |
Writes an xml representation of this Dimension to out_stream. |
The key thing to understand about Dimension is that it contains not just a dimensional value, but also a record of what the dimension value is supposed to represent. (e.g. a co-ordinate on the x axis, or the height of something).
|
Constructor.
|
|
return the BaseDim object currently used as the value for this Dimension.
|
|
Return a DimensionType value indicating what this Dimension represents.
|
|
set the current value for this Dimension.
|
|
Sets what this Dimension represents.
|
|
Writes an xml representation of this Dimension to out_stream.
|