2 #ifndef _YI_OBJECT_PRINTER_H_ 3 #define _YI_OBJECT_PRINTER_H_ 65 template<
typename TYPE>
80 template<
typename T,
typename A>
static CYIString ToString(
const std::vector<T, A> &
object);
81 template<
typename T,
typename A>
static CYIString ToString(
const std::list<T, A> &
object);
82 template<
typename T,
typename A>
static CYIString ToString(
const std::deque<T, A> &
object);
83 template<
typename T,
typename C,
typename A>
static CYIString ToString(
const std::set<T, C, A> &
object);
84 template<
typename T,
typename C,
typename A>
static CYIString ToString(
const std::multiset<T, C, A> &
object);
85 template<
typename K,
typename V,
typename C,
typename A>
static CYIString ToString(
const std::map<K, V, C, A> &
object);
86 template<
typename K,
typename V,
typename C,
typename A>
static CYIString ToString(
const std::multimap<K, V, C, A> &
object);
110 template<
typename I>
static CYIString ListToString(
const I &begin,
const I &end);
111 template<
typename I>
static CYIString MapToString(
const I &begin,
const I &end);
113 static bool TryIncrementPointerCount();
114 static void DecrementPointerCount();
123 #include "utility/YiObjectPrinter.inl"
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
Delete the copy constructor and assignment operator (and consequently the move constructor as well) ...
Definition: YiPredef.h:114
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
A class used to get the string representation of an object or of a complex type.
Definition: YiObjectPrinter.h:57
A class that holds instances of any type that is copy-constructible.
Definition: YiAny.h:77
static CYIString ToString(const TYPE &object)
Definition: YiTypeTraits.h:487