8 #ifndef MI_NEURAYLIB_ITRANSACTION_H
9 #define MI_NEURAYLIB_ITRANSACTION_H
26 class ITransaction :
public
83 mi::base::Interface_declare<0x6ca1f0c2,0xb262,0x4f09,0xa6,0xa5,0x05,0xae,0x14,0x45,0xed,0xfa>
101 virtual void abort() = 0;
107 virtual bool is_open()
const = 0;
147 virtual base::IInterface*
create(
148 const char* type_name,
150 const base::IInterface* argv[] = 0) = 0;
211 const char* type_name,
218 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
256 return create<T>( Type_traits<T>::get_type_name());
303 #ifdef MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
343 const T* ptr_T =
static_cast<const T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
392 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
422 virtual Sint32 copy(
const char* source,
const char* target,
Uint8 privacy = 0) = 0;
449 virtual Sint32 remove(
const char* name,
bool only_localized =
false) = 0;
483 virtual const char*
get_time_stamp(
const char* element)
const = 0;
501 const char* element,
const char* time_stamp)
const = 0;
509 virtual const char*
get_id()
const = 0;
539 const char* root_element,
540 const char* name_pattern = 0,
541 const IArray* type_names = 0)
const = 0;
561 #endif // MI_NEURAYLIB_ITRANSACTION_H