Public Member Functions | List of all members
GridGain.Portable.IPortableIdMapper Interface Reference

Maps class name and class field names to integer identifiers. More...

Public Member Functions

int TypeId (string typeName)
 Gets type ID for the given type. More...
 
int FieldId (int typeId, string fieldName)
 Gets field ID for the given field of the given class. More...
 

Detailed Description

Member Function Documentation

int GridGain.Portable.IPortableIdMapper.FieldId ( int  typeId,
string  fieldName 
)
Parameters
typeIdType ID.
fieldNameField name.
Returns
ID of the field or null in case hash code is to be used.
int GridGain.Portable.IPortableIdMapper.TypeId ( string  typeName)
Parameters
typeNameFull type name.
Returns
ID of the class or 0 in case hash code is to be used.