Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.1.0)

E69640-01

AbstractTypedClass Class Template Reference

#include <coherence/lang/AbstractTypedClass.hpp>

Inherits Class.

Inherited by TypedBarrenClass, and TypedClass.

List of all members.


Detailed Description

template<class T>
class coherence::lang::AbstractTypedClass< T >

AbstractTypedClass provides an abstract templated implementation of Class.

Author:
pf 2010.08.11
Since:
Coherence 3.7

Public Types

typedef spec::Handle Handle
 AbstractTypedClass<T> Handle definition.
typedef spec::View View
 AbstractTypedClass<T> View definition.
typedef spec::Holder Holder
 AbstractTypedClass<T> Holder definition.
typedef T Type
 Class type.

Public Member Functions

virtual const
std::type_info & 
getTypeInfo () const
 Return the typeinfo for the corresponding type.

Returns:
the typeinfo for the corresponding type

virtual size32_t getSize () const
 Return the shallow size for an instance of the class represented by this Class.

Returns:
the shallow size of an instance of the represented class.

virtual bool isInstance (Object::View v) const
 Return whether the passed in Object is an instance of class represented by this Class.

Parameters:
v the object to test
Returns:
whether the passed in Object is an instance of class represented by this Class.
Since:
Coherence 3.7

virtual bool isAssignableFrom (Class::View vClass) const
 Return true if the class represented by this object is the same Class or a super class or super interface of the specified class.

Parameters:
vClass the class to test
Returns:
true if the specified class "extends" the class represented by this object.

virtual Class::View getSuperclass () const
 Return the superclass of this class, or NULL if this class an interface or top level class.

Returns:
the superclass
Exceptions:
ClassNotFoundException if the superclass is not registered
Since:
Coherence 3.7.1

virtual ObjectArray::View getInterfaces () const
 Return an array of Class::View objects representing the interfaces which the Class directly implements.

Any interfaces not registered with the ClassLoader will be left out of the array.

Returns:
the array of Class::Views representing the interfaces
Since:
Coherence 3.7.1


Protected Member Functions

 A ()
 Initialize an AbstractTypedClass.

The documentation for this class was generated from the following file:
Copyright © 2000, 2016, Oracle and/or its affiliates. All rights reserved.