casac::RecordType Class Reference

#include <type_record.h>

Collaboration diagram for casac::RecordType:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 12 of file type_record.h.

Public Member Functions

RecordValuenarrow (WX::Utils::Value *) const
const RecordValueconst_narrow (const WX::Utils::Value *) const
 RecordType ()
 ~RecordType ()
RecordValuecreate () const
 The official "constructor" for a Value instance.
bool can_assign (const WX::Utils::Value &, WX::Utils::Error *=NULL) const
void assign (WX::Utils::Value *self, const WX::Utils::Value *that) const
WX::Utils::Value * fit (WX::Utils::Value *) const
 Fit the given value to have myself as type.
const std::string & typestr () const
 Should only be used for informational purposes.
WX::Utils::Value * shallow_copy (const WX::Utils::Value *self) const
WX::Utils::Value * toplevel_copy (const WX::Utils::Value *self) const
WX::Utils::Value * deep_copy (const WX::Utils::Value *self) const
const WX::Utils::Value * default_value () const
 The default value of the concrete type.
int compare (const WX::Utils::Value *self, const WX::Utils::Value *that) const
void convert_from (WX::Utils::Value *self, const WX::Utils::Value *that) const
 HACK ALERT!
 LTA_MEMDECL (1)

Static Public Member Functions

static const RecordTypeinstance ()

Static Private Attributes

static const RecordValuedefault_value_


Constructor & Destructor Documentation

casac::RecordType::RecordType (  ) 

casac::RecordType::~RecordType (  ) 


Member Function Documentation

static const RecordType* casac::RecordType::instance (  )  [static]

RecordValue* casac::RecordType::narrow ( WX::Utils::Value *   )  const

const RecordValue* casac::RecordType::const_narrow ( const WX::Utils::Value *   )  const

RecordValue* casac::RecordType::create (  )  const

The official "constructor" for a Value instance.

bool casac::RecordType::can_assign ( const WX::Utils::Value &  ,
WX::Utils::Error *  = NULL 
) const

void casac::RecordType::assign ( WX::Utils::Value *  self,
const WX::Utils::Value *  that 
) const

WX::Utils::Value* casac::RecordType::fit ( WX::Utils::Value *   )  const

Fit the given value to have myself as type.

This can either create a new Value instance, or simply return the given value if that has already the right type.

const std::string& casac::RecordType::typestr (  )  const

Should only be used for informational purposes.

WX::Utils::Value* casac::RecordType::shallow_copy ( const WX::Utils::Value *  self  )  const

WX::Utils::Value* casac::RecordType::toplevel_copy ( const WX::Utils::Value *  self  )  const

WX::Utils::Value* casac::RecordType::deep_copy ( const WX::Utils::Value *  self  )  const

const WX::Utils::Value* casac::RecordType::default_value (  )  const

The default value of the concrete type.

int casac::RecordType::compare ( const WX::Utils::Value *  self,
const WX::Utils::Value *  that 
) const

void casac::RecordType::convert_from ( WX::Utils::Value *  self,
const WX::Utils::Value *  that 
) const

HACK ALERT!

casac::RecordType::LTA_MEMDECL (  ) 


Member Data Documentation

const RecordValue* casac::RecordType::default_value_ [static, private]

Definition at line 51 of file type_record.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 22:37:09 2008 for NRAOCASA by  doxygen 1.5.1