8 #ifndef MI_NEURAYLIB_ITRANSACTION_H
9 #define MI_NEURAYLIB_ITRANSACTION_H
26 class ITransaction :
public
73 mi::base::Interface_declare<0x6ca1f0c2,0xb262,0x4f09,0xa6,0xa5,0x05,0xae,0x14,0x45,0xed,0xfa>
91 virtual void abort() = 0;
97 virtual bool is_open()
const = 0;
132 virtual base::IInterface*
create(
133 const char* type_name,
135 const base::IInterface* argv[] = 0) = 0;
191 const char* type_name,
198 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
236 return create<T>( Type_traits<T>::get_type_name());
291 #ifdef MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
331 const T* ptr_T =
static_cast<const T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
374 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
404 virtual Sint32 copy(
const char* source,
const char* target,
Uint8 privacy = 0) = 0;
432 virtual Sint32 remove(
const char* name,
bool only_localized =
false) = 0;
472 virtual const char*
get_time_stamp(
const char* element)
const = 0;
495 const char* element,
const char* time_stamp)
const = 0;
503 virtual const char*
get_id()
const = 0;
533 const char* root_element,
534 const char* name_pattern = 0,
535 const IArray* type_names = 0)
const = 0;
555 #endif // MI_NEURAYLIB_ITRANSACTION_H