get_ObjectType Method

WRAPPER_API virtual ObjectType get_ObjectType() const

 

Description

The get_ObjectType method returns the type of the current object, according to the ObjectType enumeration.  

 

Example

void Serializable_getObjectType(GeoCalcPBW::Serializable * s)

{

if(s->get_ObjectType() == GeoCalcPBW::GeoBase::ObjectType::AngularUnitType)

{

GeoCalcPBW::AngularUnit * au = (GeoCalcPBW::AngularUnit *)s;

}

}