company logo

BaseContext :: isClass - Is context class class with passed name?

When a class name (className property) has been set, the function compares the context class name with the class name passed in sClassName to the function and returns true, when class names are equal and false otherwise.

When the context handle does not refer to a valid context instance the function throws an exception.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool BaseContext  :: isClass ( odaba::String &sClassName )
  • sClassName - Class name

    The class name is the name of an implementation class (usually) defined in the database. Class names must not exceed 40 characters.

    In order to pass no class name, an empty string ( String() ) might be passed.