#include <HxRegistryServant.h>
Inheritance diagram for HxRegistryServant::

Public Methods | |
| HxRegistryServant () | |
| virtual | ~HxRegistryServant () |
| virtual HxCorba::NameList * | getKeyNames (const char *cursorKey) throw (CORBA::SystemException) |
| virtual HxCorba::NameList * | getValueNames (const char *cursorKey) throw (CORBA::SystemException) |
| virtual HxCorba::NameList * | getValueData (const char *cursorKey) throw (CORBA::SystemException) |
|
|
00017 {
00018 }
|
|
|
00021 {
00022 }
|
|
|
00027 {
00028 HxCorba::NameList_var strList = new HxCorba::NameList();
00029
00030 HxRegKey* cKey = HxRegistry::instance().findKey(cursorKey);
00031 if (cKey) {
00032 HxRegKeyList list;
00033 cKey->getKeyList(std::back_inserter(list));
00034 strList->length(list.size());
00035
00036 int i=0;
00037 HxRegKeyList::iterator listPtr;
00038 for (listPtr = list.begin() ; listPtr != list.end() ; listPtr++) {
00039 HxRegKey* key = *listPtr;
00040 strList[i++] = key->getName().c_str();
00041 }
00042 }
00043 return strList._retn();
00044 }
|
|
|
00049 {
00050 HxCorba::NameList_var strList = new HxCorba::NameList();
00051
00052 HxRegKey* cKey = HxRegistry::instance().findKey(cursorKey);
00053 if (cKey) {
00054 HxRegValueList list;
00055 cKey->getValueList(std::back_inserter(list));
00056 strList->length(list.size());
00057
00058 int i=0;
00059 HxRegValueList::iterator listPtr;
00060 for (listPtr = list.begin() ; listPtr != list.end() ; listPtr++) {
00061 HxRegValue* val = *listPtr;
00062 strList[i++] = val->getName().c_str();
00063 }
00064 }
00065 return strList._retn();
00066 }
|
|
|
00071 {
00072 HxCorba::NameList_var strList = new HxCorba::NameList();
00073
00074
00075 HxRegKey* cKey = HxRegistry::instance().findKey(cursorKey);
00076 if (cKey) {
00077 HxRegValueList list;
00078 cKey->getValueList(std::back_inserter(list));
00079 strList->length(list.size());
00080
00081 int i=0;
00082 HxRegValueList::iterator listPtr;
00083 for (listPtr = list.begin() ; listPtr != list.end() ; listPtr++) {
00084 HxRegValue* val = *listPtr;
00085 HxRegData d = val->getData();
00086 strList[i++] = d.toString().c_str();
00087 }
00088 }
00089 return strList._retn();
00090 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001