11 #if !defined(YI_ROKU) && !defined(YI_TIZEN_NACL) 12 #define YI_ANY_PROVIDE_TYPE_NAME 27 #define YI_ANY_STORAGE_SIZE (sizeof(float) * 3) 127 template <
typename T>
160 template <
typename T>
197 template <
typename T>
213 template <
typename T>
214 const T &
Get()
const;
240 template <
typename T,
bool bAllocate>
241 struct TypeTableFunctions
244 static void Create(
CYIAny *pAny,
const void *pOther);
247 static void *GetValue(
CYIAny *pAny);
250 static void Destroy(
CYIAny *pAny);
259 void (*Create)(
CYIAny *pAny,
const void *pOther);
260 void *(*GetValue)(
CYIAny *pAny);
261 void (*Destroy)(
CYIAny *pAny);
266 template <
typename T>
267 static TypeTable *GetTypeTable();
271 TypeTable *m_pTypeTable;
273 #ifdef YI_ANY_PROVIDE_TYPE_NAME 275 const char *m_pTypeName;
279 static const char *GetDemangledTypeName();
288 void *GetVoid()
const;
290 template <
typename T>
293 template <
typename T>
330 glm::mat3 *m_glmMat3;
331 glm::mat4 *m_glmMat4;
336 memset(
this, 0xFE,
sizeof(Storage));
344 #include "framework/YiAny.inl"
CYIAny & operator=(const CYIAny &other)
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
A class that holds instances of any type that is copy-constructible.
Definition: YiAny.h:77
CYIString ToString() const
bool ContainsType() const
#define YI_ANY_STORAGE_SIZE
Definition: YiAny.h:27
static size_t GetRequiredHeapMemory()
CYIAny & Swap(CYIAny &other)
bool MatchesType(const CYIAny &rOther) const
A class used to encapsulate an URL.
Definition: YiUrl.h:24
friend class CYIAnyTest
Definition: YiAny.h:237