packages feed

HROOT-io-0.10.0.1: csrc/HROOTIOTMemFile.h

#ifdef __cplusplus
extern "C" {
#endif

#pragma once


#include "HROOT-ioType.h"

#include "HROOTIOTFile.h"

#include "HROOTIOTDirectoryFile.h"

#include "HROOTCoreTDirectory.h"

#include "HROOTCoreTNamed.h"

#include "HROOTCoreTObject.h"

#include "STDDeletable.h"


#define TMEMFILE_DECL_VIRT(Type) \



#define TMEMFILE_DECL_NONVIRT(Type) \
Type##_p Type##_newTMemFile ( const char* path, const char* option, const char* ftitle, int compress );


#define TMEMFILE_DECL_ACCESSOR(Type) \



#define TMEMFILE_DEF_VIRT(Type) \



#define TMEMFILE_DEF_NONVIRT(Type) \
Type##_p Type##_newTMemFile ( const char* path, const char* option, const char* ftitle, int compress ) {\
Type* newp=new Type(path, option, ftitle, compress);return from_nonconst_to_nonconst<Type##_t, Type>(newp);\
}


#define TMEMFILE_DEF_ACCESSOR(Type) \



TFILE_DECL_VIRT(TMemFile)
TDIRECTORYFILE_DECL_VIRT(TMemFile)
TDIRECTORY_DECL_VIRT(TMemFile)
TNAMED_DECL_VIRT(TMemFile)
TOBJECT_DECL_VIRT(TMemFile)
DELETABLE_DECL_VIRT(TMemFile)
TMEMFILE_DECL_VIRT(TMemFile)
TMEMFILE_DECL_NONVIRT(TMemFile)
TMEMFILE_DECL_ACCESSOR(TMemFile)

#ifdef __cplusplus
}
#endif