Sparksee 6.1.0
BooleanList Class Reference

Boolean list. More...

#include <Graph_data.h>

Public Member Functions

int32_t Count () const
 Number of elements in the list.
BooleanListIteratorIterator ()
 Gets a new BooleanListIterator.
 BooleanList ()
 Constructor.
 BooleanList (const std::vector< bool_t > &v)
 Constructor.
 ~BooleanList ()
 Destructor.
void Add (sparksee::gdb::bool_t value)
 Adds a Boolean at the end of the list.
void Clear ()
 Clears the list.

Detailed Description

Boolean list.

It stores a Boolean list.

Use BooleanListIterator to access all elements into this collection.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

◆ BooleanList() [1/2]

BooleanList::BooleanList ( )

Constructor.

This creates an empty list.

Referenced by Clear().

◆ BooleanList() [2/2]

BooleanList::BooleanList ( const std::vector< bool_t > & v)

Constructor.

Parameters
v[in] Vector.

Member Function Documentation

◆ Add()

void BooleanList::Add ( sparksee::gdb::bool_t value)
inline

Adds a Boolean at the end of the list.

Parameters
value[in] Boolean.

◆ Count()

int32_t BooleanList::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.

◆ Iterator()

BooleanListIterator * BooleanList::Iterator ( )

Gets a new BooleanListIterator.

Returns
BooleanListIterator instance.

The documentation for this class was generated from the following file: