5 #include <libutl/Hashtable.h> 6 #include <libutl/Pair.h> 7 #include <libutl/SortedCollection.h> 39 virtual size_t innerAllocatedSize()
const;
52 return isNull(
String(name,
false));
56 bool isNull(
const String& name)
const;
62 setNull(
String(name,
false));
66 void setNull(
const String& name);
76 return valueOf(
String(name,
false));
95 return valueOf(
String(name,
false), create);
115 return setValue(
new String(name,
false),
new String(value,
false));
127 return setValue(name.clone(),
new String(value,
false));
139 return setValue(
new String(name,
false), value.clone());
151 return setValue(name.clone(), value.clone());
197 ASSERTD(nonConstEmptyString.empty());
201 static String nonConstEmptyString;
void serialize(bool &b, Stream &stream, uint_t io, uint_t mode=ser_default)
Serialize a boolean.
void intersect(const FwdIt &lhsBegin, const FwdIt &lhsEnd, const FwdIt &rhsBegin, const FwdIt &rhsEnd, FwdIt &out, const Ordering *ordering=nullptr, bool cloning=false, bool multiSet=false, bool outIsLHS=false)
Determine the intersection of two sorted sequences.
void deInit()
De-initialize UTL++.
default representation (via getSerializeMode())
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
Pair * setValue(const char *name, const String &value)
Set a variable.
String & valueOf(const char *name, bool create)
Get the value of a variable (non-const version).
bool isNull(const char *name) const
Is the given variable null?
void copy(T *dest, const T *src, size_t len)
Copy one array of objects to another.
Abstraction for a Collection whose objects may be sorted.
void clear()
Clear out contents.
unsigned int uint_t
Unsigned integer.
Pair * setValue(const String &name, const String &value)
Set a variable.
void setNull(const char *name)
Remove the given variable (make it null).
const utl::Collection & container() const
Get the container.
Chained hashing collection.
const String & valueOf(const char *name) const
Get the value of a variable.
utl::Collection & container()
Get the container.
Pair * setValue(const String &name, const char *value)
Set a variable.
Simple container for two objects.
A set of (variable-name, variable-value) tuples.
Root of UTL++ class hierarchy.
int compare(bool lhs, bool rhs)
Compare two boolean values.
void init()
Initialize UTL++.
Pair * setValue(const char *name, const char *value)
Set a variable.
#define ASSERTD
Do an assertion in DEBUG mode only.