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_NAMESPACE::Serializable * s)

{

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

{

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

}

}