FACT++  1.0
void DimService::storeIt ( void *  data,
int  size 
)
private

Definition at line 83 of file discpp.cxx.

References itsData, itsDataSize, itsId, itsSize, and size.

Referenced by setData(), and DimRpc::setData().

84 {
85  DISABLE_AST
86  if(!itsId)
87  {
88  ENABLE_AST
89  return;
90  }
91  if(!itsDataSize)
92  {
93  itsData = new char[size];
94  itsDataSize = size;
95  }
96  else if(itsDataSize < size)
97  {
98  delete[] (char *)itsData;
99  itsData = new char[size];
100  itsDataSize = size;
101  }
102  memcpy(itsData, data, (size_t)size);
103  itsSize = size;
104  ENABLE_AST
105 }
int size
Definition: db_dim_server.c:17
float data[4 *1440]
int itsDataSize
Definition: dis.hxx:209
int itsSize
Definition: dis.hxx:210
int itsId
Definition: dis.hxx:228
void * itsData
Definition: dis.hxx:208

+ Here is the caller graph for this function: