1 #ifndef CORE_VectorReader_H 2 #define CORE_VectorReader_H 91 tUIndex i,n=(vs.size()<3)?vs.size():3;
92 for (i=0;i<n;i++) v[i]=vs[i];
93 for (i=n;i<3;i++) v[i]=0;
virtual ~CORE_VectorReader(void)
destroy
Definition: CORE_VectorReader.cpp:14
This class describes a reader for vector value.
Definition: CORE_VectorReader.h:19
#define tBoolean
Definition: types.h:139
CORE_VectorReader(void)
create
Definition: CORE_VectorReader.cpp:10
static tBoolean readVector(tString &str, vector< T > &vs)
read vector of string str v=[x,y,z,t] or x,y,z,t
Definition: CORE_VectorReader.hpp:7
this class describes an array
Definition: CORE_Array.h:19
#define tUIndex
Definition: types.h:126
SP_OBJECT(CORE_VectorReader)
abstract base class for most classes.
Definition: CORE_Object.h:53
#define tString
Definition: types.h:135
static tBoolean readVector(const tString &str, tReal v[3])
read vector of string str v=[x,y,z,t] or x,y,z,t
Definition: CORE_VectorReader.h:87
#define tReal
Definition: types.h:118
DEFINE_SPTR(CORE_VectorReader)