Logo Search packages:      
Sourcecode: pwlib version File versions

static const char* PObject::Class (  )  [inline, static, inherited]

Get the name of the class as a C string. This is a static function which returns the type of a specific class.

When comparing class names, always use the strcmp()# function rather than comparing pointers. The pointers are not necessarily the same over compilation units depending on the compiler, platform etc.

Returns:
pointer to C string literal.

Definition at line 1366 of file object.h.

Referenced by PIpAccessControlList::Add(), PASN_OctetString::Clone(), PASN_BitString::Clone(), PASN_Enumeration::Clone(), PASN_Integer::Clone(), PASN_Boolean::Clone(), PASN_Null::Clone(), and PObject::GetClass().

{ return PCLASSNAME(PObject); }


Generated by  Doxygen 1.6.0   Back to index