Guiliani  Version 2.6 revision 7293 (documentation build 12)
CGUIWheel::NodeInfo Struct Reference

Contains information about one node. More...

#include <GUIWheel.h>

Public Member Functions

 NodeInfo ()
 Default constructor.
 
 NodeInfo (CGUIObject *pkParent, const eC_String &kNodeText, eC_Value vXPos, eC_Value vYPos, eC_Value vWidth, eC_Value vHeight)
 
 NodeInfo (const NodeInfo &kToBeCopied)
 
 ~NodeInfo ()
 Destructor.
 
NodeInfooperator= (const NodeInfo &kNode)
 
bool operator== (const NodeInfo &kNode)
 
bool operator> (const NodeInfo &kNode)
 

Public Attributes

CGUITextm_pkGUIText
 GUIText needed to display value.
 
eC_String m_sNodeText
 Value of entry displayed.
 

Detailed Description

Contains information about one node.

Constructor & Destructor Documentation

◆ NodeInfo() [1/2]

CGUIWheel::NodeInfo::NodeInfo ( const NodeInfo kToBeCopied)

Copy constructor

Parameters
kToBeCopiedNode from which to copy

◆ NodeInfo() [2/2]

CGUIWheel::NodeInfo::NodeInfo ( CGUIObject pkParent,
const eC_String &  kNodeText,
eC_Value  vXPos,
eC_Value  vYPos,
eC_Value  vWidth,
eC_Value  vHeight 
)

Constructor

Parameters
pkParentObject to which the internal text shall be attached
kNodeTextText string to display on the text object
vXPosthe text's relative x position
vYPosthe text's relative y position
vWidththe text's width
vHeightthe text's height

Member Function Documentation

◆ operator=()

NodeInfo & CGUIWheel::NodeInfo::operator= ( const NodeInfo kNode)

Assignment Operator

Parameters
kNodeNode from which to copy
Returns
this node

◆ operator==()

bool CGUIWheel::NodeInfo::operator== ( const NodeInfo kNode)

Compare operators needed in order to used Sort()

Parameters
kNodeNode with which to compare
Returns
True When the two node's texts are identical

◆ operator>()

bool CGUIWheel::NodeInfo::operator> ( const NodeInfo kNode)

Compare operators needed in order to used Sort()

Parameters
kNodeNode with which to compare
Returns
True if the other node's value is larger.

The documentation for this struct was generated from the following file: