Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

rfl::FundamentalType Class Reference

#include <FundamentalType.hh>

Inheritance diagram for rfl::FundamentalType:

Inheritance graph
[legend]
Collaboration diagram for rfl::FundamentalType:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FundamentalType (Id id, const mpu::String &name, std::size_t size, std::size_t alignment, std::size_t elementNum, const std::type_info *typeId, void(*create)(const Type *, void *), void(*cCreate)(const Type *, void *, const void *), void(*destroy)(const Type *, void *), void(*assign)(const Type *, void *, const void *), void *(*newObj)(const Type *), void *(*newCopy)(const Type *, const void *), void(*delObj)(const Type *, void *))
virtual const TypegetElmType (std::size_t idx) const
virtual void * getElmAddr (void *obj, std::size_t idx) const

Detailed Description

Actually this is only an intermediate, abstract class wich serves a a base class for all fundamental type classes. There is a fixed, well known set of fundamental type objects, which are:


Constructor & Destructor Documentation

rfl::FundamentalType::FundamentalType Id  id,
const mpu::String &  name,
std::size_t  size,
std::size_t  alignment,
std::size_t  elementNum,
const std::type_info *  typeId,
void(*  create)(const Type *, void *),
void(*  cCreate)(const Type *, void *, const void *),
void(*  destroy)(const Type *, void *),
void(*  assign)(const Type *, void *, const void *),
void *(*  newObj)(const Type *),
void *(*  newCopy)(const Type *, const void *),
void(*  delObj)(const Type *, void *)
[inline]
 


Member Function Documentation

virtual void* rfl::FundamentalType::getElmAddr void *  obj,
std::size_t  idx
const [virtual]
 

Implements rfl::Type.

virtual const Type& rfl::FundamentalType::getElmType std::size_t  idx  )  const [virtual]
 

Implements rfl::Type.


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 11:33:02 2003 for Reflection&ServiceLibrary by doxygen 1.3.2