Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Registry::Object Class Reference

An object representation. More...

#include <Registry.h>

List of all members.

Public Methods

 Object (void *data=0, u_long size=0, u_long type=REG_NONE)
 Default constructor. More...

void data (void *data)
 Set data. More...

void * data (void) const
 Get data. More...

void size (u_long size)
 Set size. More...

u_long size (void) const
 Get size. More...

void type (u_long type)
 Set type. More...

u_long type (void) const
 Get type. More...


Private Attributes

void * data_
 Pointer to data. More...

u_long size_
 Size of the data. More...

u_long type_
 Type of data. More...


Detailed Description

An object representation.

In CORBA, all objects inherit from (CORBA::Object). For the registry, this is used as a wrapper for an instance of a built-in data type. Think about an object as being similar to a file in a file system.

Definition at line 131 of file Registry.h.


Constructor & Destructor Documentation

ACE_Registry::Object::Object void *    data = 0,
u_long    size = 0,
u_long    type = REG_NONE
 

Default constructor.

Definition at line 120 of file Registry.cpp.

00123   : data_ (data),
00124     size_ (size),
00125     type_ (type)
00126 {
00127 }


Member Function Documentation

void * ACE_Registry::Object::data void    const
 

Get data.

Definition at line 138 of file Registry.cpp.

References data_.

00139 {
00140   return this->data_;
00141 }

void ACE_Registry::Object::data void *    data
 

Set data.

Definition at line 131 of file Registry.cpp.

References data, and data_.

Referenced by data.

00132 {
00133   this->data_ = data;
00134 }

u_long ACE_Registry::Object::size void    const
 

Get size.

Definition at line 152 of file Registry.cpp.

References size_.

00153 {
00154   return this->size_;
00155 }

void ACE_Registry::Object::size u_long    size
 

Set size.

Definition at line 145 of file Registry.cpp.

References size, and size_.

Referenced by ACE_Registry_Name_Space::resolve, and size.

00146 {
00147   this->size_ = size;
00148 }

u_long ACE_Registry::Object::type void    const
 

Get type.

Definition at line 166 of file Registry.cpp.

References type_.

00167 {
00168   return this->type_;
00169 }

void ACE_Registry::Object::type u_long    type
 

Set type.

Definition at line 159 of file Registry.cpp.

References type, and type_.

Referenced by type.

00160 {
00161   this->type_ = type;
00162 }


Member Data Documentation

void* ACE_Registry::Object::data_ [private]
 

Pointer to data.

Definition at line 159 of file Registry.h.

Referenced by data.

u_long ACE_Registry::Object::size_ [private]
 

Size of the data.

Definition at line 162 of file Registry.h.

Referenced by size.

u_long ACE_Registry::Object::type_ [private]
 

Type of data.

Definition at line 165 of file Registry.h.

Referenced by type.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:55:06 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002