BOOS Core API 3.1
- api::Collection<Type>
- api::Heap
- api::IllegalValue<Type>
- api::Interrupt
- api::Iterable<Type>
- api::Iterator<Type>
- api::Kernel
- api::List<Type>
- api::ListIterator<Type>
- api::Mutex
- api::Object
- api::ProcessorInterrupt
- api::ProcessorPll
- api::ProcessorRegisters
- api::ProcessorTimer
- api::Queue<Type>
- api::Resource
- api::Runtime
- api::Scheduler
- api::Semaphore
- api::Stack<Type>
- api::String<Char>
- api::Synchronizable
- api::System
- api::Task
- api::Thread
- api::Timer
- api::Toggle
- api::Value<Type>
- library::AbstractBuffer<Type,Alloc>
- library::AbstractLinkedList<Type,Alloc>
- library::Align<Type,SIZEOF,Alloc>
- library::Buffer<Type,COUNT,Alloc>
- library::CircularList<Type,Alloc>
- library::Heap
- library::LinkedList<Type,Alloc>
- library::LinkedNode<Type,Alloc>
- library::Memory
- library::Stack<Type,Alloc>
- library::String<Char,Alloc>
- library::Toggle<Alloc>
BOOS Core is unveiled in second revision
BOOS Core Revision 2 has been successfully unveiled within the framework of Baigudin Software project. In comparison with the first revision, the second has gotten considerable improvements. It saves the best features of previous realization and gets the new logical continuation.
Interface «api::Iterator<Type>»
Iterator interface.
- api::Iterator<Type>
- public api::IllegalValue<Type>
- public api::Object
- public api::IllegalValue<Type>
public:
virtual Type getIllegal() const;
virtual bool isConstructed() const;
virtual bool isIllegal(const Type& value) const;
public: virtual ~Iterator();
Destructor.
public: virtual Type getIllegal() const;
Returns illegal element which will be returned as error value.
Returns:
illegal element.
public: virtual Type getNext();
Returns next element and advances the cursor position.
Returns:
reference to element.
public: virtual bool hasNext() const;
Tests if this iteration may return a next element.
Returns:
true if next element is had.
public: virtual bool isConstructed() const;
Tests if this object has been constructed.
public: virtual bool isIllegal(const Type& value) const;
Tests if given value is an illegal.
Parameters:
value — testing value.
Returns:
true if value is an illegal.
public: static bool isObject(const Type* obj);
Tests if given object has been constructed object.
public: virtual bool remove();
Removes the last element returned by this iterator.
Returns:
true if an element is removed successfully.
public: virtual void setIllegal(Type value);
Sets illegal element which will be returned as error value.
Parameters:
value — illegal value.