OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRtti.h>
Public Types | |
typedef std::vector< const RTTITypeinfo * > | SubtypesConstVector |
Public Member Functions | |
RTTITypeinfo (const char *name, const RTTITypeinfo *bb[], void *(*)(int, void *), void *(*)()) | |
~RTTITypeinfo () | |
const char * | getname () const |
int | same (const RTTITypeinfo *) const |
int | can_cast (const RTTITypeinfo *) const |
int | has_base (const RTTITypeinfo *) const |
const RTTITypeinfo * | subclass (int=0) const |
int | num_subclasses () const |
void * | create (const RTTITypeinfo *, const char *) const |
int | can_create () const |
Private Member Functions | |
void | add_subtype (const RTTITypeinfo *) |
void | del_subtype (const RTTITypeinfo *) |
Private Attributes | |
std::string | n |
const RTTITypeinfo ** | b |
int | ns |
SubtypesConstVector | subtypes |
void *(* | new_obj )() |
void *(* | cast )(int, void *) |
Static Private Attributes | |
static const RTTITypeinfo | null_type = RTTITypeinfo("NULL", RTTI_base_null_type,0,0) |
Friends | |
class | RTTItypeid |
Definition at line 165 of file ossimRtti.h.
typedef std::vector<const RTTITypeinfo*> RTTITypeinfo::SubtypesConstVector |
Definition at line 167 of file ossimRtti.h.
RTTITypeinfo::RTTITypeinfo | ( | const char * | name, |
const RTTITypeinfo * | bb[], | ||
void * | *)(int, void *, | ||
void * | *)( | ||
) |
Definition at line 52 of file ossimRtti.cpp.
References add_subtype(), and n.
RTTITypeinfo::~RTTITypeinfo | ( | ) |
Definition at line 73 of file ossimRtti.cpp.
|
private |
Definition at line 17 of file ossimRtti.cpp.
Referenced by RTTITypeinfo().
|
inline |
Definition at line 225 of file ossimRtti.h.
References has_base(), and same().
Referenced by RTTItypeid::can_cast().
|
inline |
Definition at line 230 of file ossimRtti.h.
References new_obj.
Referenced by RTTItypeid::can_create().
void * RTTITypeinfo::create | ( | const RTTITypeinfo * | bt, |
const char * | c | ||
) | const |
Definition at line 96 of file ossimRtti.cpp.
Referenced by RTTItypeid::create().
|
private |
Definition at line 31 of file ossimRtti.cpp.
const char * RTTITypeinfo::getname | ( | ) | const |
int RTTITypeinfo::has_base | ( | const RTTITypeinfo * | p | ) | const |
Definition at line 88 of file ossimRtti.cpp.
References same().
Referenced by can_cast().
|
inline |
Definition at line 209 of file ossimRtti.h.
References ns.
Referenced by RTTItypeid::num_subclasses().
|
inline |
Definition at line 219 of file ossimRtti.h.
References n.
Referenced by can_cast(), has_base(), RTTItypeid::operator!=(), and RTTItypeid::operator==().
|
inline |
|
friend |
Definition at line 203 of file ossimRtti.h.
|
private |
Definition at line 191 of file ossimRtti.h.
Referenced by RTTItypeid::baseclass(), and RTTItypeid::num_baseclasses().
|
private |
Definition at line 197 of file ossimRtti.h.
|
private |
Definition at line 190 of file ossimRtti.h.
|
private |
Definition at line 196 of file ossimRtti.h.
Referenced by can_create().
|
private |
Definition at line 192 of file ossimRtti.h.
Referenced by num_subclasses().
|
staticprivate |
Definition at line 195 of file ossimRtti.h.
Referenced by RTTItypeid::null_type().
|
private |
Definition at line 193 of file ossimRtti.h.