23 #ifndef __GEOM_LIST_I_H__
24 #define __GEOM_LIST_I_H__
29 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(GEOM_Superv)
32 #include "utilities.h"
36 public virtual POA_GEOM::GEOM_List,
37 public virtual PortableServer::RefCountServantBase
44 const Type& GetList();
46 template <
class ElemType>
47 void AddObject(ElemType theObject);
59 MESSAGE(
"GEOM_List_i::GEOM_List_i");
70 int aLength = theListToCopy.length();
71 myGOList.length(aLength);
72 for (
int i = 0; i < aLength; i++)
73 myGOList[i] = theListToCopy[i];
82 MESSAGE(
"GEOM_List_i::~GEOM_List_i");
91 MESSAGE(
"GEOM_List_i::GetList()");
99 template <
class ElemType>
102 MESSAGE(
"GEOM_List_i::AddObject(...)");
103 int aLength = myGOList.length();
104 myGOList.length(aLength+1);
105 myGOList[aLength] = theObject;