24 #ifndef __evFieldScaleInfo_h 25 #define __evFieldScaleInfo_h 47 return(
evString(
"evFieldScaleInfo"));
52 unsigned int FindScale(
const unsigned int scale)
const;
54 unsigned int GetScale(
const unsigned int index)
const;
55 void SetScale(
const unsigned int index,
56 const unsigned int scale);
57 unsigned int GetStart(
const unsigned int index)
const;
58 void SetStart(
const unsigned int index,
59 const unsigned int start);
60 unsigned int GetLength(
const unsigned int index)
const;
62 const unsigned int length);
64 void Append(
const unsigned int scale,
65 const unsigned int start,
66 const unsigned int length);
68 virtual void PrintSelf(
const int tabbing)
const;
73 std::vector<unsigned int>
Scale;
74 std::vector<unsigned int>
Start;
96 for (index = 0; index < this->
Scale.size(); index++)
97 if (this->
Scale[index] == scale)
106 return(this->
Scale[index]);
111 const unsigned int scale)
113 this->
Scale[index] = scale;
119 return(this->
Start[index]);
124 const unsigned int start)
126 this->
Start[index] = start;
132 return(this->
Length[index]);
137 const unsigned int length)
139 this->
Length[index] = length;
145 return(this->
Scale.size());
150 const unsigned int start,
151 const unsigned int length)
153 this->
Scale.push_back(scale);
154 this->
Start.push_back(start);
155 this->
Length.push_back(length);
166 for (
unsigned int index = 0; index < this->
Scale.size(); index++)
void evPrintWithTab(const int tabbing, const char *format,...)
unsigned int GetLength(const unsigned int index) const
Definition: evFieldScaleInfo.h:130
unsigned int GetScale(const unsigned int index) const
Definition: evFieldScaleInfo.h:104
virtual ~evFieldScaleInfo(void)
Definition: evFieldScaleInfo.h:42
Definition: evDataObject.h:31
virtual const evString GetClassName(void) const
Definition: evFieldScaleInfo.h:45
evFieldScaleInfo(void)
Definition: evFieldScaleInfo.h:79
void SetStart(const unsigned int index, const unsigned int start)
Definition: evFieldScaleInfo.h:123
Definition: evFieldScaleInfo.h:37
void SetScale(const unsigned int index, const unsigned int scale)
Definition: evFieldScaleInfo.h:110
unsigned int GetStart(const unsigned int index) const
Definition: evFieldScaleInfo.h:117
std::vector< unsigned int > Length
Definition: evFieldScaleInfo.h:75
virtual void PrintSelf(const int tabbing) const
Definition: evFieldScaleInfo.h:159
void Append(const unsigned int scale, const unsigned int start, const unsigned int length)
Definition: evFieldScaleInfo.h:149
unsigned int GetNumEntries(void) const
Definition: evFieldScaleInfo.h:143
std::vector< unsigned int > Start
Definition: evFieldScaleInfo.h:74
std::vector< unsigned int > Scale
Definition: evFieldScaleInfo.h:73
unsigned int FindScale(const unsigned int scale) const
Definition: evFieldScaleInfo.h:92
void SetLength(const unsigned int index, const unsigned int length)
Definition: evFieldScaleInfo.h:136
Definition: evString.h:30