Aspose::Pdf::BaseOperatorCollection Class Referenceabstract

Represents base class for operator collection. More...

Inherits System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Operator > >.

Inherited by Aspose::Pdf::OperatorCollection.

Public Member Functions

virtual int32_t get_Count () const =0
 Gets count of operators in the collection. More...
 
virtual bool get_IsReadOnly () const =0
 Returns true if collection is read only. More...
 
virtual bool get_IsFastTextExtractionMode () const =0
 Indicates wheather collection is limited to fast text extraction More...
 
virtual System::SharedPtr< Operatoridx_get (int32_t index)=0
 Gets operator by its index. More...
 
virtual void idx_set (int32_t index, System::SharedPtr< Operator > value)=0
 Gets operator by its index. More...
 
virtual System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< Operator > > > GetEnumerator ()=0
 Returns enumerator for collection More...
 
virtual void CopyTo (System::ArrayPtr< System::SharedPtr< Operator >> array, int32_t index)=0
 Copies operators into operators list. More...
 
virtual void SuppressUpdate ()=0
 Suppresses update contents data. The contents stream is not updated until ResumeUpdate is called. More...
 
virtual void ResumeUpdate ()=0
 Resumes document update. Updates contents stream in case there are any pending changes. More...
 
virtual void Insert (int32_t index, System::SharedPtr< Operator > op)=0
 Inserts operator into collection. More...
 
virtual void Add (System::SharedPtr< Operator > const &op)=0
 Adds new operator into collection. More...
 
virtual bool Remove (System::SharedPtr< Operator > const &item)=0
 Removes operator from collection. More...
 
virtual bool Contains (System::SharedPtr< Operator > const &item) const =0
 
virtual void Clear ()=0
 Clears collection. More...
 
virtual void CancelUpdate ()=0
 Cancels last update. This method may be called when the change should not raise contents update. More...
 
- Public Member Functions inherited from System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Operator > >
virtual void CopyTo (System::ArrayPtr< System::SharedPtr< Aspose::Pdf::Operator > > array, int arrayIndex)=0
 
ICollectionoperator= (ICollection &&)
 
ICollectionoperator= (const ICollection &)
 
 ICollection ()
 Default constructor. More...
 
 ICollection (const ICollection &)
 Copy constructor. More...
 
 ICollection (ICollection &&)
 Move constructor. More...
 
virtual ~ICollection ()
 Destructor. More...
 
- 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 refernce 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 int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () ASPOSE_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 (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)
 

Protected Member Functions

virtual void set_IsFastTextExtractionMode (bool value)=0
 Indicates wheather collection is limited to fast text extraction More...
 
virtual System::SharedPtr< Engine::Data::ITrailerable > get_Trailerable ()=0
 
virtual System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > ToList ()=0
 Returns opetator list. More...
 
virtual System::SharedPtr< OperatorGetUnrestricted (int32_t index)=0
 
virtual void UpdateData ()=0
 
virtual void DeleteUnrestricted (int32_t index)=0
 

Additional Inherited Members

- Public Types inherited from System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Operator > >
typedef System::SharedPtr< Aspose::Pdf::OperatorValueType
 Value type name. More...
 
typedef ICollection< System::SharedPtr< Aspose::Pdf::Operator > > ThisType
 Collection type name. More...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Pdf::Operator > >
typedef IEnumerator< System::SharedPtr< Aspose::Pdf::Operator > > IEnumeratorType
 Enumerator type. More...
 
- 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 base class for operator collection.

Member Function Documentation

◆ Add()

virtual void Aspose::Pdf::BaseOperatorCollection::Add ( System::SharedPtr< Operator > const &  op)
pure virtual

Adds new operator into collection.

Parameters
opOperator which must be added

Implements System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Operator > >.

Implemented in Aspose::Pdf::OperatorCollection.

◆ CancelUpdate()

virtual void Aspose::Pdf::BaseOperatorCollection::CancelUpdate ( )
pure virtual

Cancels last update. This method may be called when the change should not raise contents update.

Implemented in Aspose::Pdf::OperatorCollection.

◆ Clear()

virtual void Aspose::Pdf::BaseOperatorCollection::Clear ( )
pure virtual

◆ Contains()

virtual bool Aspose::Pdf::BaseOperatorCollection::Contains ( System::SharedPtr< Operator > const &  item) const
pure virtual

◆ CopyTo()

virtual void Aspose::Pdf::BaseOperatorCollection::CopyTo ( System::ArrayPtr< System::SharedPtr< Operator >>  array,
int32_t  index 
)
pure virtual

Copies operators into operators list.

Parameters
arrayArray with operators which must to be copied. This array must be Object[] or Operator[].
indexStarting index from which operators will be copied

Implemented in Aspose::Pdf::OperatorCollection.

◆ DeleteUnrestricted()

virtual void Aspose::Pdf::BaseOperatorCollection::DeleteUnrestricted ( int32_t  index)
protectedpure virtual

◆ get_Count()

virtual int32_t Aspose::Pdf::BaseOperatorCollection::get_Count ( ) const
pure virtual

◆ get_IsFastTextExtractionMode()

virtual bool Aspose::Pdf::BaseOperatorCollection::get_IsFastTextExtractionMode ( ) const
pure virtual

Indicates wheather collection is limited to fast text extraction

Implemented in Aspose::Pdf::OperatorCollection.

◆ get_IsReadOnly()

virtual bool Aspose::Pdf::BaseOperatorCollection::get_IsReadOnly ( ) const
pure virtual

Returns true if collection is read only.

Reimplemented from System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Operator > >.

Implemented in Aspose::Pdf::OperatorCollection.

◆ get_Trailerable()

virtual System::SharedPtr<Engine::Data::ITrailerable> Aspose::Pdf::BaseOperatorCollection::get_Trailerable ( )
protectedpure virtual

◆ GetEnumerator()

virtual System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<Operator> > > Aspose::Pdf::BaseOperatorCollection::GetEnumerator ( )
pure virtual

◆ GetUnrestricted()

virtual System::SharedPtr<Operator> Aspose::Pdf::BaseOperatorCollection::GetUnrestricted ( int32_t  index)
protectedpure virtual

◆ idx_get()

virtual System::SharedPtr<Operator> Aspose::Pdf::BaseOperatorCollection::idx_get ( int32_t  index)
pure virtual

Gets operator by its index.

Parameters
indexIndex of operator. Numbering is starts from 1.
Returns
Operator from requested index

Implemented in Aspose::Pdf::OperatorCollection.

◆ idx_set()

virtual void Aspose::Pdf::BaseOperatorCollection::idx_set ( int32_t  index,
System::SharedPtr< Operator value 
)
pure virtual

Gets operator by its index.

Parameters
indexIndex of operator. Numbering is starts from 1.
valueOperator from requested index

Implemented in Aspose::Pdf::OperatorCollection.

◆ Insert()

virtual void Aspose::Pdf::BaseOperatorCollection::Insert ( int32_t  index,
System::SharedPtr< Operator op 
)
pure virtual

Inserts operator into collection.

Parameters
indexIndex where new operator must be added
opOperator which will be insterted

Implemented in Aspose::Pdf::OperatorCollection.

◆ Remove()

virtual bool Aspose::Pdf::BaseOperatorCollection::Remove ( System::SharedPtr< Operator > const &  item)
pure virtual

Removes operator from collection.

Parameters
item
Returns

Implements System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Operator > >.

Implemented in Aspose::Pdf::OperatorCollection.

◆ ResumeUpdate()

virtual void Aspose::Pdf::BaseOperatorCollection::ResumeUpdate ( )
pure virtual

Resumes document update. Updates contents stream in case there are any pending changes.

Implemented in Aspose::Pdf::OperatorCollection.

◆ set_IsFastTextExtractionMode()

virtual void Aspose::Pdf::BaseOperatorCollection::set_IsFastTextExtractionMode ( bool  value)
protectedpure virtual

Indicates wheather collection is limited to fast text extraction

Implemented in Aspose::Pdf::OperatorCollection.

◆ SuppressUpdate()

virtual void Aspose::Pdf::BaseOperatorCollection::SuppressUpdate ( )
pure virtual

Suppresses update contents data. The contents stream is not updated until ResumeUpdate is called.

Implemented in Aspose::Pdf::OperatorCollection.

◆ ToList()

virtual System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Operator> > > Aspose::Pdf::BaseOperatorCollection::ToList ( )
protectedpure virtual

Returns opetator list.

Returns
opetator list.

Implemented in Aspose::Pdf::OperatorCollection.

◆ UpdateData()

virtual void Aspose::Pdf::BaseOperatorCollection::UpdateData ( )
protectedpure virtual