22 using namespace KKLSC;
39 ScannerHeaderFields::const_iterator idx;
40 for (idx = fields.begin (); idx != fields.end (); ++idx)
41 Add (idx->first, idx->second);
62 for (idx2 = begin (); idx2 != end (); ++idx2)
64 mem = mem + (idx2->first.MemoryConsumedEstimated () + idx2->second.MemoryConsumedEstimated ());
78 ScannerHeaderFields::const_iterator idx;
79 for (idx = fields->begin (); idx != fields->end (); ++idx)
80 Add (idx->first, idx->second);
91 idx1 =
this->find (fieldName);
93 insert (pair<KKStr,KKStr>(fieldName, fieldValue));
95 idx1->second = fieldValue;
105 KKStr fieldValueStr = (fieldValue ?
"Yes" :
"No");
106 Add (fieldName
, fieldValueStr
);
115 Add (fieldName
, fieldValueStr
);
125 Add (fieldName
, fieldValueStr
);
135 fieldValueStr << fieldValue;
136 Add (fieldName
, fieldValueStr
);
167 idx2 =
this->find (fieldName);
168 exists = (idx2 != end ());
177 const KKStr* value = NULL;
180 idx2 =
this->find (fieldName);
182 value = &(KKStr::EmptyStr ());
184 value = &(idx2->second);
KKStr(kkint32 size)
Creates a KKStr object that pre-allocates space for 'size' characters.
KKStr StrFromInt64(kkint64 i)
static void Destroy(volatile GoalKeeperPtr &_goalKeeperInstance)
Destroys an existing instance of GoalKeeper.
kkint32 MemoryConsumedEstimated() const
static void Create(const KKStr &_name, volatile GoalKeeperPtr &_newGoalKeeper)
Create a GoalKeeper object and avoid a race condition doing it.
void StartBlock()
Initiates a Block as long as another thread has not already locked this object.
void EndBlock()
Ends the block and allows other threads to pass through StatBlock.
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
Contains Classes that are specific to Cameras physical characteristics.