1 #ifndef CORE_VectorReader_H
2 #define CORE_VectorReader_H
76 int i,n=(vs.size()<3)?vs.size():3;
77 for (i=0;i<n;i++) v[i]=vs[i];
78 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:18
#define tBoolean
Definition: types.h:35
CORE_VectorReader(void)
create
Definition: CORE_VectorReader.cpp:10
static tBoolean readVector(tString &str, vector< T > &vs)
read vector of string v v=[x,y,z,t] or x,y,z,t
Definition: CORE_VectorReader.hpp:7
abstract base class for most classes.
Definition: CORE_Object.h:30
#define tString
Definition: types.h:36
static tBoolean readVector(const tString &str, tReal v[3])
Definition: CORE_VectorReader.h:72
#define tReal
Definition: types.h:18
DEFINE_SPTR(CORE_VectorReader)