SHAPER  9.12.0
ModelHighAPI_Integer Class Reference

Class for filling ModelAPI_AttributeInteger. More...

Public Member Functions

 ModelHighAPI_Integer (int theValue=0)
 Constructor for int. More...
 
 ModelHighAPI_Integer (const std::wstring &theValue)
 Constructor for std::string. More...
 
 ModelHighAPI_Integer (const wchar_t *theValue)
 Constructor for char *. More...
 
virtual ~ModelHighAPI_Integer ()
 Destructor. More...
 
virtual void fillAttribute (const std::shared_ptr< ModelAPI_AttributeInteger > &theAttribute) const
 Fill attribute values. More...
 
virtual int intValue () const
 Returns a value (must be used only for attributes which support no text) More...
 
virtual std::wstring string () const
 Returns a string representation of the value. More...
 

Detailed Description

Class for filling ModelAPI_AttributeInteger.

Constructor & Destructor Documentation

◆ ModelHighAPI_Integer() [1/3]

ModelHighAPI_Integer::ModelHighAPI_Integer ( int  theValue = 0)

Constructor for int.

◆ ModelHighAPI_Integer() [2/3]

ModelHighAPI_Integer::ModelHighAPI_Integer ( const std::wstring &  theValue)

Constructor for std::string.

◆ ModelHighAPI_Integer() [3/3]

ModelHighAPI_Integer::ModelHighAPI_Integer ( const wchar_t *  theValue)

Constructor for char *.

◆ ~ModelHighAPI_Integer()

ModelHighAPI_Integer::~ModelHighAPI_Integer ( )
virtual

Destructor.

Member Function Documentation

◆ fillAttribute()

void ModelHighAPI_Integer::fillAttribute ( const std::shared_ptr< ModelAPI_AttributeInteger > &  theAttribute) const
virtual

Fill attribute values.

◆ intValue()

int ModelHighAPI_Integer::intValue ( ) const
virtual

Returns a value (must be used only for attributes which support no text)

◆ string()

std::wstring ModelHighAPI_Integer::string ( ) const
virtual

Returns a string representation of the value.