Jive reference manual
List of all members | Public Types | Public Member Functions
jem::AttributeTable Class Reference

#include <jem/base/reflect/AttributeTable.h>

Public Types

typedef util::Dictionary Dict
 
typedef AttributeTable Self
 
typedef Array< Ref< Method > > MethodArray
 
typedef Array< Ref< Field > > FieldArray
 

Public Member Functions

 AttributeTable ()
 
 AttributeTable (idx_t cap)
 
Ref< DictgetAttributes () const
 
MethodArray getMethods () const
 
FieldArray getFields () const
 
Ref< ObjectgetAttribute (const String &name) const
 
Ref< MethodgetMethod (const String &name) const
 
Ref< FieldgetField (const String &name) const
 
void addAttribute (const String &name, const Ref< Object > &attrib)
 
void addMethod (const Ref< Method > &method)
 
void addField (const Ref< Field > &field)
 
void mergeWith (const Self &rhs)
 

Member Typedef Documentation

Constructor & Destructor Documentation

jem::AttributeTable::AttributeTable ( )
jem::AttributeTable::AttributeTable ( idx_t  cap)
explicit

Member Function Documentation

Ref<Dict> jem::AttributeTable::getAttributes ( ) const
MethodArray jem::AttributeTable::getMethods ( ) const
FieldArray jem::AttributeTable::getFields ( ) const
Ref< Object > jem::AttributeTable::getAttribute ( const String name) const
Ref< Method > jem::AttributeTable::getMethod ( const String name) const
Ref< Field > jem::AttributeTable::getField ( const String name) const
void jem::AttributeTable::addAttribute ( const String name,
const Ref< Object > &  attrib 
)
void jem::AttributeTable::addMethod ( const Ref< Method > &  method)
void jem::AttributeTable::addField ( const Ref< Field > &  field)
void jem::AttributeTable::mergeWith ( const Self rhs)