Base class for summary info objects More...

Inherits System::Object.

Inherited by Aspose::Pub::DocSummaryInfo, and Aspose::Pub::SummaryInfo.

Public Member Functions

ASPOSE_PUB_SHARED_API uint16_t get_RawByteOrder ()
 Raw byte order More...
 
ASPOSE_PUB_SHARED_API bool get_IsLittleEndian () const
 Is little endian More...
 
ASPOSE_PUB_SHARED_API uint16_t get_Version () const
 Version value More...
 
ASPOSE_PUB_SHARED_API uint32_t get_SysID () const
 System identifier More...
 
ASPOSE_PUB_SHARED_API System::Guid get_Clsid () const
 CLSID identifier More...
 
ASPOSE_PUB_SHARED_API System::Guid get_FMTID () const
 FMTID identifier More...
 
ASPOSE_PUB_SHARED_API int32_t get_PropsCount ()
 Count of properties More...
 
ASPOSE_PUB_SHARED_API System::SharedPtr< System::Collections::Generic::SortedDictionary< uint32_t, System::SharedPtr< System::Object > >::KeyCollection > get_PropsIdentifiers ()
 Identifiers of properties More...
 
ASPOSE_PUB_SHARED_API int16_t get_CodePage ()
 Code page identifier More...
 
ASPOSE_PUB_SHARED_API uint32_t get_Locale ()
 Locale identifier More...
 
ASPOSE_PUB_SHARED_API System::SharedPtr< System::ObjectGetProperty (uint32_t id)
 Gets property by ID passed More...
 
ASPOSE_PUB_SHARED_API MetaInfo ()
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API 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 reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Protected Member Functions

void SetByteOrder (uint8_t lowByte, uint8_t highByte)
 Sets byte order More...
 
void SetVersion (uint16_t value)
 Sets version More...
 
void SetSysID (uint32_t value)
 Sets system identifier More...
 
void SetClsid (System::Guid value)
 Sets CLS ID identifier More...
 
void SetFMTID (System::Guid value)
 Sets FMTID identifier More...
 
void AddProperty (uint32_t id, System::SharedPtr< System::Object > value)
 
ASPOSE_PUB_SHARED_API System::String GetStringByID (uint32_t id)
 Gets string by ID More...
 
ASPOSE_PUB_SHARED_API int32_t GetIntByID (uint32_t id)
 Gets integer by ID More...
 

Protected Attributes

uint8_t _rawLowByteOrder
 raw byte order More...
 
uint8_t _rawHighByteOrder
 
bool _isLittleEndian
 is little endian More...
 
uint16_t _version
 Version value More...
 
uint32_t _sysId
 System identifier More...
 
System::Guid _clsid
 CLSID identifier More...
 
System::Guid _fmtId
 FMTID identifier More...
 
int16_t _codePage
 Code page identifier More...
 
System::SharedPtr< System::Collections::Generic::SortedDictionary< uint32_t, System::SharedPtr< System::Object > > > _propertyMap
 Map of proprties More...
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. 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 ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Base class for summary info objects

Constructor & Destructor Documentation

◆ MetaInfo()

ASPOSE_PUB_SHARED_API Aspose::Pub::MetaInfo::MetaInfo ( )

Member Function Documentation

◆ AddProperty()

void Aspose::Pub::MetaInfo::AddProperty ( uint32_t  id,
System::SharedPtr< System::Object value 
)
protected

◆ get_Clsid()

ASPOSE_PUB_SHARED_API System::Guid Aspose::Pub::MetaInfo::get_Clsid ( ) const

CLSID identifier

◆ get_CodePage()

ASPOSE_PUB_SHARED_API int16_t Aspose::Pub::MetaInfo::get_CodePage ( )

Code page identifier

◆ get_FMTID()

ASPOSE_PUB_SHARED_API System::Guid Aspose::Pub::MetaInfo::get_FMTID ( ) const

FMTID identifier

◆ get_IsLittleEndian()

ASPOSE_PUB_SHARED_API bool Aspose::Pub::MetaInfo::get_IsLittleEndian ( ) const

Is little endian

◆ get_Locale()

ASPOSE_PUB_SHARED_API uint32_t Aspose::Pub::MetaInfo::get_Locale ( )

Locale identifier

◆ get_PropsCount()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::MetaInfo::get_PropsCount ( )

Count of properties

◆ get_PropsIdentifiers()

ASPOSE_PUB_SHARED_API System::SharedPtr<System::Collections::Generic::SortedDictionary<uint32_t, System::SharedPtr<System::Object> >::KeyCollection> Aspose::Pub::MetaInfo::get_PropsIdentifiers ( )

Identifiers of properties

◆ get_RawByteOrder()

ASPOSE_PUB_SHARED_API uint16_t Aspose::Pub::MetaInfo::get_RawByteOrder ( )

Raw byte order

◆ get_SysID()

ASPOSE_PUB_SHARED_API uint32_t Aspose::Pub::MetaInfo::get_SysID ( ) const

System identifier

◆ get_Version()

ASPOSE_PUB_SHARED_API uint16_t Aspose::Pub::MetaInfo::get_Version ( ) const

Version value

◆ GetIntByID()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::MetaInfo::GetIntByID ( uint32_t  id)
protected

Gets integer by ID

Parameters
idinteger identifier
Returns
integer value

◆ GetProperty()

ASPOSE_PUB_SHARED_API System::SharedPtr<System::Object> Aspose::Pub::MetaInfo::GetProperty ( uint32_t  id)

Gets property by ID passed

Parameters
idproperty identifier
Returns
property value

◆ GetStringByID()

ASPOSE_PUB_SHARED_API System::String Aspose::Pub::MetaInfo::GetStringByID ( uint32_t  id)
protected

Gets string by ID

Parameters
idstring identifier
Returns
string value

◆ SetByteOrder()

void Aspose::Pub::MetaInfo::SetByteOrder ( uint8_t  lowByte,
uint8_t  highByte 
)
protected

Sets byte order

Parameters
lowBytelow byte
highBytehigh byte

◆ SetClsid()

void Aspose::Pub::MetaInfo::SetClsid ( System::Guid  value)
protected

Sets CLS ID identifier

Parameters
valueCLS ID identifier value

◆ SetFMTID()

void Aspose::Pub::MetaInfo::SetFMTID ( System::Guid  value)
protected

Sets FMTID identifier

Parameters
valueFMTID identifier

◆ SetSysID()

void Aspose::Pub::MetaInfo::SetSysID ( uint32_t  value)
protected

Sets system identifier

Parameters
valueSystem Identifier value

◆ SetVersion()

void Aspose::Pub::MetaInfo::SetVersion ( uint16_t  value)
protected

Sets version

Parameters
valueversion value

Member Data Documentation

◆ _clsid

System::Guid Aspose::Pub::MetaInfo::_clsid
protected

CLSID identifier

◆ _codePage

int16_t Aspose::Pub::MetaInfo::_codePage
protected

Code page identifier

◆ _fmtId

System::Guid Aspose::Pub::MetaInfo::_fmtId
protected

FMTID identifier

◆ _isLittleEndian

bool Aspose::Pub::MetaInfo::_isLittleEndian
protected

is little endian

◆ _propertyMap

System::SharedPtr<System::Collections::Generic::SortedDictionary<uint32_t, System::SharedPtr<System::Object> > > Aspose::Pub::MetaInfo::_propertyMap
protected

Map of proprties

◆ _rawHighByteOrder

uint8_t Aspose::Pub::MetaInfo::_rawHighByteOrder
protected

◆ _rawLowByteOrder

uint8_t Aspose::Pub::MetaInfo::_rawLowByteOrder
protected

raw byte order

◆ _sysId

uint32_t Aspose::Pub::MetaInfo::_sysId
protected

System identifier

◆ _version

uint16_t Aspose::Pub::MetaInfo::_version
protected

Version value