Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData Class Reference

Immutable object that represents a readonly collection of effective image transform effects. More...

Inherits Aspose::Slides::IEffectiveData, and Aspose::Slides::Effects::IImageTransformOCollectionEffectiveData.

Public Member Functions

int32_t get_Count ()
 Returns the number of image effects in a collection. Read-only int32_t. More...
 
bool get_IsSynchronized ()
 Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only bool. More...
 
System::SharedPtr< System::Objectget_SyncRoot ()
 Returns a synchronization root. Read-only System::Object. More...
 
System::SharedPtr< IEffectEffectiveDataidx_get (int32_t index)
 Returns element by index. More...
 
virtual bool Equals (System::SharedPtr< System::Object > obj)
 Determines whether the specified object is equal to the current object. More...
 
virtual int32_t GetHashCode () const
 Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. More...
 
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< IEffectEffectiveData > > > GetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 
void CopyTo (System::ArrayPtr< System::SharedPtr< IEffectEffectiveData >> array, int32_t index)
 
 ImageTransformOCollectionEffectiveData ()
 
- 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 String ToString () 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)
 
- Public Member Functions inherited from Aspose::Slides::IGenericCollection< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > >
virtual void CopyTo (System::ArrayPtr< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > array, int32_t index)=0
 Copies all elements from the collection into the specified array. More...
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > >
System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveDataLINQ_ElementAt (int index)
 
System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveDataLINQ_First ()
 
System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveDataLINQ_FirstOrDefault ()
 
System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveDataLINQ_FirstOrDefault (std::function< bool(System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >)> predicate)
 
System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveDataLINQ_Last ()
 
System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveDataLINQ_LastOrDefault ()
 
SharedPtr< List< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > > LINQ_ToList ()
 
int LINQ_Count ()
 
System::ArrayPtr< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > LINQ_ToArray ()
 
bool LINQ_All (std::function< bool(System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >)> predicate)
 
bool LINQ_Any ()
 
bool LINQ_Any (std::function< bool(System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >)> predicate)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > > LINQ_Where (std::function< bool(System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >)> predicate)
 
bool LINQ_Contains (System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > value)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Cast ()
 
SharedPtr< IEnumerable< Result > > LINQ_Cast ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_OfType ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >, ResultType > &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, Result > &selector)
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >, IEnumerator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > > begin () noexcept
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >, IEnumerator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > > end () noexcept
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >, IEnumerator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > > cbegin () noexcept
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >, IEnumerator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > > cend () noexcept
 

Protected Member Functions

System::SharedPtr< IEffectEffectiveDataAdd (System::SharedPtr< ImageTransformOperation > operation)
 
System::SharedPtr< IEffectEffectiveDataAdd (System::SharedPtr< IEffectEffectiveData > effectEffectiveData)
 
void Clear ()
 
System::String GetStringData ()
 
System::SharedPtr< System::Drawing::ImageApplyTransform (System::SharedPtr< System::Drawing::Bitmap > img, bool forceTransformation)
 
bool EqualsTo (System::SharedPtr< ImageTransformOCollectionEffectiveData > obj)
 
bool EqualsTo (System::SharedPtr< IImageTransformOCollectionEffectiveData > obj)
 
virtual ~ImageTransformOCollectionEffectiveData ()
 
- Protected Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > >
 ~IEnumerable () override
 Destructor. More...
 

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...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > >
typedef IEnumerator< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > > IEnumeratorType
 Enumerator type. More...
 
using ValueType = System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData >
 
- 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

Immutable object that represents a readonly collection of effective image transform effects.

Name IImageTransformOperationCollectionEffectiveData truncuted to IImageTransformOCollectionEffectiveData because of COM names length cannot be more then 39.

Constructor & Destructor Documentation

◆ ImageTransformOCollectionEffectiveData()

Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::ImageTransformOCollectionEffectiveData ( )

◆ ~ImageTransformOCollectionEffectiveData()

virtual Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::~ImageTransformOCollectionEffectiveData ( )
protectedvirtual

Member Function Documentation

◆ Add() [1/2]

System::SharedPtr<IEffectEffectiveData> Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::Add ( System::SharedPtr< ImageTransformOperation operation)
protected

◆ Add() [2/2]

System::SharedPtr<IEffectEffectiveData> Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::Add ( System::SharedPtr< IEffectEffectiveData effectEffectiveData)
protected

◆ ApplyTransform()

System::SharedPtr<System::Drawing::Image> Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::ApplyTransform ( System::SharedPtr< System::Drawing::Bitmap img,
bool  forceTransformation 
)
protected

◆ Clear()

void Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::Clear ( )
protected

◆ CopyTo()

void Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::CopyTo ( System::ArrayPtr< System::SharedPtr< IEffectEffectiveData >>  array,
int32_t  index 
)

◆ Equals()

virtual bool Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::Equals ( System::SharedPtr< System::Object obj)
virtual

Determines whether the specified object is equal to the current object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ EqualsTo() [1/2]

bool Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::EqualsTo ( System::SharedPtr< ImageTransformOCollectionEffectiveData obj)
protected

◆ EqualsTo() [2/2]

bool Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::EqualsTo ( System::SharedPtr< IImageTransformOCollectionEffectiveData obj)
protected

◆ get_Count()

int32_t Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::get_Count ( )
virtual

Returns the number of image effects in a collection. Read-only int32_t.

Implements Aspose::Slides::IGenericCollection< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > >.

◆ get_IsSynchronized()

bool Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::get_IsSynchronized ( )
virtual

Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only bool.

Implements Aspose::Slides::IGenericCollection< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > >.

◆ get_SyncRoot()

System::SharedPtr<System::Object> Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::get_SyncRoot ( )
virtual

◆ GetEnumerator()

System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<IEffectEffectiveData> > > Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::GetEnumerator ( )
virtual

Returns an enumerator that iterates through the collection.

Returns
A System::Collections::Generic::IEnumerator that can be used to iterate through the collection.

Implements System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Slides::Effects::IEffectEffectiveData > >.

◆ GetHashCode()

virtual int32_t Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::GetHashCode ( ) const
virtual

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Returns
A hash code for the current object.

Reimplemented from System::Object.

◆ GetStringData()

System::String Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::GetStringData ( )
protected

◆ idx_get()

System::SharedPtr<IEffectEffectiveData> Aspose::Slides::Effects::ImageTransformOCollectionEffectiveData::idx_get ( int32_t  index)
virtual

Returns element by index.

Parameters
index
Returns

Implements Aspose::Slides::Effects::IImageTransformOCollectionEffectiveData.