32 #ifndef _QORE_TYPEDHASHDECL_H 34 #define _QORE_TYPEDHASHDECL_H 37 class typed_hash_decl_private;
43 friend class typed_hash_decl_private;
48 DLLEXPORT TypedHashDecl(
const TypedHashDecl& old);
51 DLLEXPORT
const QoreTypeInfo*
getTypeInfo(
bool or_nothing =
false)
const;
54 DLLEXPORT
void addMember(
const char* name,
const QoreTypeInfo* memberTypeInfo,
QoreValue init_val);
56 DLLEXPORT
const char* getName()
const;
58 DLLEXPORT
bool isSystem()
const;
65 DLLEXPORT TypedHashDecl(typed_hash_decl_private* p);
67 typed_hash_decl_private* priv;
114 DLLEXPORT
extern const TypedHashDecl* hashdeclFilesystemInfo;
DLLEXPORT ~TypedHashDecl()
deletes the object and frees all memory
allows for temporary storage of a TypedHashDecl pointer
Definition: TypedHashDecl.h:73
DLLEXPORT void addMember(const char *name, const QoreTypeInfo *memberTypeInfo, QoreValue init_val)
adds an element to a built-in hashdecl
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:112
DLLEXPORT const QoreTypeInfo * getTypeInfo(bool or_nothing=false) const
returns the type info object for the hashdecl
typed hash declaration
Definition: TypedHashDecl.h:42