Aspose::Slides::BlobManagementOptions Class Reference

Represents options which can be used to manage BLOB handling rules and other BLOB settings. More...

Inherits Aspose::Slides::IBlobManagementOptions.

Public Member Functions

Aspose::Slides::PresentationLockingBehavior get_PresentationLockingBehavior ()
 Represents the locking behavior for the presentation's source (stream or file). More...
 
void set_PresentationLockingBehavior (Aspose::Slides::PresentationLockingBehavior value)
 Represents the locking behavior for the presentation's source (stream or file). More...
 
bool get_IsTemporaryFilesAllowed ()
 Set that using of temporary files is not allowed to optimize memory consumption while working with large amounts of data during presentation's lifetime. If false, OutOfMemoryException can be thrown. More...
 
void set_IsTemporaryFilesAllowed (bool value)
 Set that using of temporary files is not allowed to optimize memory consumption while working with large amounts of data during presentation's lifetime. If false, OutOfMemoryException can be thrown. More...
 
System::String get_TempFilesRootPath ()
 Represents the root path on the filesystem, where the temporary files will be stored. System temorary directory will be used by default. More...
 
void set_TempFilesRootPath (System::String value)
 Represents the root path on the filesystem, where the temporary files will be stored. System temorary directory will be used by default. More...
 
uint64_t get_MaxBlobsBytesInMemory ()
 A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory. After this threshold was reached, all new BLOBs will be placed in temporary files and will not affect the total memory consumption of the process. IsTemporaryFilesAllowed should be set to true to use this property. More...
 
void set_MaxBlobsBytesInMemory (uint64_t value)
 A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory. After this threshold was reached, all new BLOBs will be placed in temporary files and will not affect the total memory consumption of the process. IsTemporaryFilesAllowed should be set to true to use this property. More...
 
 BlobManagementOptions ()
 Creates new default blob management options. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Represents options which can be used to manage BLOB handling rules and other BLOB settings.

Constructor & Destructor Documentation

◆ BlobManagementOptions()

Aspose::Slides::BlobManagementOptions::BlobManagementOptions ( )

Creates new default blob management options.

Member Function Documentation

◆ get_IsTemporaryFilesAllowed()

bool Aspose::Slides::BlobManagementOptions::get_IsTemporaryFilesAllowed ( )
virtual

Set that using of temporary files is not allowed to optimize memory consumption while working with large amounts of data during presentation's lifetime. If false, OutOfMemoryException can be thrown.

Implements Aspose::Slides::IBlobManagementOptions.

◆ get_MaxBlobsBytesInMemory()

uint64_t Aspose::Slides::BlobManagementOptions::get_MaxBlobsBytesInMemory ( )
virtual

A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory. After this threshold was reached, all new BLOBs will be placed in temporary files and will not affect the total memory consumption of the process. IsTemporaryFilesAllowed should be set to true to use this property.

Implements Aspose::Slides::IBlobManagementOptions.

◆ get_PresentationLockingBehavior()

Aspose::Slides::PresentationLockingBehavior Aspose::Slides::BlobManagementOptions::get_PresentationLockingBehavior ( )
virtual

Represents the locking behavior for the presentation's source (stream or file).

Implements Aspose::Slides::IBlobManagementOptions.

◆ get_TempFilesRootPath()

System::String Aspose::Slides::BlobManagementOptions::get_TempFilesRootPath ( )
virtual

Represents the root path on the filesystem, where the temporary files will be stored. System temorary directory will be used by default.

Implements Aspose::Slides::IBlobManagementOptions.

◆ set_IsTemporaryFilesAllowed()

void Aspose::Slides::BlobManagementOptions::set_IsTemporaryFilesAllowed ( bool  value)
virtual

Set that using of temporary files is not allowed to optimize memory consumption while working with large amounts of data during presentation's lifetime. If false, OutOfMemoryException can be thrown.

Implements Aspose::Slides::IBlobManagementOptions.

◆ set_MaxBlobsBytesInMemory()

void Aspose::Slides::BlobManagementOptions::set_MaxBlobsBytesInMemory ( uint64_t  value)
virtual

A threshold that indicates the maximum amount of bytes which BLOBs can occupied in memory. After this threshold was reached, all new BLOBs will be placed in temporary files and will not affect the total memory consumption of the process. IsTemporaryFilesAllowed should be set to true to use this property.

Implements Aspose::Slides::IBlobManagementOptions.

◆ set_PresentationLockingBehavior()

void Aspose::Slides::BlobManagementOptions::set_PresentationLockingBehavior ( Aspose::Slides::PresentationLockingBehavior  value)
virtual

Represents the locking behavior for the presentation's source (stream or file).

Implements Aspose::Slides::IBlobManagementOptions.

◆ set_TempFilesRootPath()

void Aspose::Slides::BlobManagementOptions::set_TempFilesRootPath ( System::String  value)
virtual

Represents the root path on the filesystem, where the temporary files will be stored. System temorary directory will be used by default.

Implements Aspose::Slides::IBlobManagementOptions.