Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «api::Iterable<Type>»

Iterable interface.

Parameters:
Type — data type of element.

public: virtual ~Iterable();

Destructor.

public: virtual bool isConstructed() const;

Tests if this object has been constructed.

Returns:
true if object has been constructed successfully.

public: static bool isObject(const Type* obj);

Tests if given object has been constructed object.

Parameters:
obj — pointer to object.

Returns:
true if object has been constructed successfully.

public: virtual ::api::Iterator<Type>* iterator();

Returns an iterator of elements.

You have to call delete operator for returned iterator after it is used.

Returns:
pointer to new iterator.

Back to class list