Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «eoos::api::SequenceContainer<T>»

Sequence сontainer interface.

public: virtual ~SequenceContainer();

Destructor.

public: virtual T* getData() const;

Returns pointer to the first element of sequence сontainer.

Returns:
Address of the first element, or NULLPTR if an error occurred.

public: virtual size_t getLength();

Returns a number of elements in this container.

Returns:
Number of elements, or always 0 if an error occurred.

public: virtual bool_t isConstructed() const;

Tests if this object has been constructed.

Returns:
True if object has been constructed successfully.

public: virtual bool_t isEmpty();

Tests if this collection has elements.

Returns:
True if this collection does not contain any elements, or always true if an error occurred.

Back to class list