Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Types | Public Member Functions

Defines the type of attributes that is attached to a representation object model. More...

#include <ilserver/rpshared.h>

Public Types

enum  Kind {
  MV_VOID, MV_BOOL, MV_CHAR, MV_LONG,
  MV_FLOAT, MV_DOUBLE, MV_STRING, MV_USER,
  MV_REF, MV_HREF , MV_COLLECTOR, MV_ANY,
  MV_VALUE, MV_FILE, MV_SVREF
}
 Specifies the type of an attribute attached to a representation object model. More...
 

Public Member Functions

IlsMvDataType::Kind getKind () const
 Returns the enumerated value that describes the attribute type.
 
IlsString getRpTypeName () const
 Returns the representation type name if any. More...
 
IlsString getSvTypeName () const
 Returns the server type name if any. More...
 
IlsString getUserTypeName () const
 Returns the user type name if any. More...
 

Detailed Description

Defines the type of attributes that is attached to a representation object model.

Library: mvserver
and mvcomp

See also
IlsMvDataType::Kind, IlsMvRef, IlsRpAttrModel, IlsRpObject.

Member Function Documentation

◆ getRpTypeName()

IlsString IlsMvDataType::getRpTypeName ( ) const

Returns the representation type name if any.

Returns
If the data type indicates a reference to a representation object, this member function returns the representation object type name. If the data type indicates a collector, this function returns the name of the type of the representation objects in the collection. Otherwise, it returns 0.

◆ getSvTypeName()

IlsString IlsMvDataType::getSvTypeName ( ) const

Returns the server type name if any.

Returns
If the data type indicates a reference to a representation object, or a hyper-reference, this member function returns the name of the type of the associated Server object. If the type is a collector, this function returns the type of the Server object associated with the representation objects in the collection. Otherwise, it returns 0.

◆ getUserTypeName()

IlsString IlsMvDataType::getUserTypeName ( ) const

Returns the user type name if any.

Returns
If the data type indicates user-defined, this member function returns its name. Otherwise, it returns a null string.