#include <Registry.h>
Public Member Functions | |
Object (void *data=0, u_long size=0, u_long type=REG_NONE) | |
Default constructor. | |
void | data (void *data) |
Set data. | |
void * | data (void) const |
Get data. | |
void | size (u_long size) |
Set size. | |
u_long | size (void) const |
Get size. | |
void | type (u_long type) |
Set type. | |
u_long | type (void) const |
Get type. | |
Private Attributes | |
void * | data_ |
Pointer to data. | |
u_long | size_ |
Size of the data. | |
u_long | type_ |
Type of data. |
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 133 of file Registry.h.
|
Default constructor.
Definition at line 124 of file Registry.cpp.
|
|
Get data.
Definition at line 142 of file Registry.cpp.
00143 { 00144 return this->data_; 00145 } |
|
Set data.
Definition at line 135 of file Registry.cpp. Referenced by ACE_Registry::Naming_Context::bind(), and ACE_Registry::Naming_Context::resolve().
00136 { 00137 this->data_ = data; 00138 } |
|
Get size.
Definition at line 156 of file Registry.cpp.
00157 { 00158 return this->size_; 00159 } |
|
Set size.
Definition at line 149 of file Registry.cpp. Referenced by ACE_Registry::Naming_Context::bind(), ACE_Registry_Name_Space::resolve(), and ACE_Registry::Naming_Context::resolve().
00150 { 00151 this->size_ = size; 00152 } |
|
Get type.
Definition at line 170 of file Registry.cpp.
00171 { 00172 return this->type_; 00173 } |
|
Set type.
Definition at line 163 of file Registry.cpp. Referenced by ACE_Registry::Naming_Context::bind(), and ACE_Registry::Naming_Context::resolve().
00164 { 00165 this->type_ = type; 00166 } |
|
Pointer to data.
Definition at line 161 of file Registry.h. |
|
Size of the data.
Definition at line 164 of file Registry.h. |
|
Type of data.
Definition at line 167 of file Registry.h. |