Crazy Eddie's GUI System  ${CEGUI_VERSION}
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
OperatorDim_wrapper Struct Reference
+ Inheritance diagram for OperatorDim_wrapper:
+ Collaboration diagram for OperatorDim_wrapper:

Public Member Functions

 OperatorDim_wrapper (CEGUI::OperatorDim const &arg)
 
 OperatorDim_wrapper (::CEGUI::DimensionOperator op)
 
 OperatorDim_wrapper (::CEGUI::DimensionOperator op,::CEGUI::BaseDim *left,::CEGUI::BaseDim *right)
 
virtual ::CEGUI::BaseDimclone () const
 Create an exact copy of the specialised object and return it as a pointer to a BaseDim object. More...
 
::CEGUI::BaseDimdefault_clone () const
 
virtual float getValue (::CEGUI::Window const &wnd) const
 
float default_getValue (::CEGUI::Window const &wnd) const
 
virtual float getValue (::CEGUI::Window const &wnd,::CEGUI::Rectf const &container) const
 
float default_getValue (::CEGUI::Window const &wnd,::CEGUI::Rectf const &container) const
 
float getValueImpl (float const lval, float const rval) const
 
virtual void writeXMLElementAttributes_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void default_writeXMLElementAttributes_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void writeXMLElementName_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void default_writeXMLElementName_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void writeXMLToStream (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void default_writeXMLToStream (::CEGUI::XMLSerializer &xml_stream) const
 
virtual bool handleFontRenderSizeChange (::CEGUI::Window &window,::CEGUI::Font const *font) const
 
bool default_handleFontRenderSizeChange (::CEGUI::Window &window,::CEGUI::Font const *font) const
 
- Public Member Functions inherited from CEGUI::OperatorDim
 OperatorDim (DimensionOperator op)
 
 OperatorDim (DimensionOperator op, BaseDim *left, BaseDim *right)
 
void setLeftOperand (const BaseDim *operand)
 set the left hand side operand (passed object is cloned)
 
BaseDimgetLeftOperand () const
 return pointer to the left hand side operand
 
void setRightOperand (const BaseDim *operand)
 set the right hand side operand (passed object is cloned)
 
BaseDimgetRightOperand () const
 return pointer to the right hand side operand
 
void setOperator (DimensionOperator op)
 Set the operation to be performed.
 
DimensionOperator getOperator () const
 Get the current operation that will be performed.
 
void setNextOperand (const BaseDim *operand)
 helper to set the next free operand, will throw after 2 are set
 
float getValue (const Window &wnd) const
 Return a value that represents this dimension as absolute pixels. More...
 
float getValue (const Window &wnd, const Rectf &container) const
 Return a value that represents this dimension as absolute pixels. More...
 
 OperatorDim (DimensionOperator op)
 
 OperatorDim (DimensionOperator op, BaseDim *left, BaseDim *right)
 
void setLeftOperand (const BaseDim *operand)
 set the left hand side operand (passed object is cloned)
 
BaseDimgetLeftOperand () const
 return pointer to the left hand side operand
 
void setRightOperand (const BaseDim *operand)
 set the right hand side operand (passed object is cloned)
 
BaseDimgetRightOperand () const
 return pointer to the right hand side operand
 
void setOperator (DimensionOperator op)
 Set the operation to be performed.
 
DimensionOperator getOperator () const
 Get the current operation that will be performed.
 
void setNextOperand (const BaseDim *operand)
 helper to set the next free operand, will throw after 2 are set
 
float getValue (const Window &wnd) const
 Return a value that represents this dimension as absolute pixels. More...
 
float getValue (const Window &wnd, const Rectf &container) const
 Return a value that represents this dimension as absolute pixels. More...
 
BaseDimclone () const
 Create an exact copy of the specialised object and return it as a pointer to a BaseDim object. More...
 
- Public Member Functions inherited from CEGUI::BaseDim
virtual bool handleFontRenderSizeChange (Window &window, const Font *font) const
 perform any processing required due to the given font having changed.
 
virtual bool handleFontRenderSizeChange (Window &window, const Font *font) const
 perform any processing required due to the given font having changed.
 

Additional Inherited Members

- Protected Member Functions inherited from CEGUI::OperatorDim
float getValueImpl (const float lval, const float rval) const
 
void writeXMLToStream (XMLSerializer &xml_stream) const
 Writes an xml representation of this BaseDim to out_stream. More...
 
void writeXMLElementName_impl (XMLSerializer &xml_stream) const
 Implementataion method to output real xml element name.
 
void writeXMLElementAttributes_impl (XMLSerializer &xml_stream) const
 Implementataion method to create the element attributes.
 
float getValueImpl (const float lval, const float rval) const
 
void writeXMLToStream (XMLSerializer &xml_stream) const
 Writes an xml representation of this BaseDim to out_stream. More...
 
void writeXMLElementName_impl (XMLSerializer &xml_stream) const
 Implementataion method to output real xml element name.
 
void writeXMLElementAttributes_impl (XMLSerializer &xml_stream) const
 Implementataion method to create the element attributes.
 
- Protected Attributes inherited from CEGUI::OperatorDim
BaseDimd_left
 
BaseDimd_right
 
DimensionOperator d_op
 

Member Function Documentation

virtual ::CEGUI::BaseDim* OperatorDim_wrapper::clone ( ) const
inlinevirtual

Create an exact copy of the specialised object and return it as a pointer to a BaseDim object.

Since the system needs to be able to copy objects derived from BaseDim, but only has knowledge of the BaseDim interface, this clone method is provided to prevent slicing issues.

Reimplemented from CEGUI::OperatorDim.

References CEGUI::OperatorDim::clone().