Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
Pool Class Reference

Pool is the base class for all variable pools for activities. More...

Inheritance diagram for Pool:
IpPool NumberPool StringPool

Public Member Functions

QString name ()
 Returns the name of the pool. More...
 
QString getElementToString (int)
 Returns the element in the pool at the specified index. More...
 
bool isInPool (QString)
 Returns true if the specified value is in the pool, otherwise false. More...
 

Detailed Description

Pool is the base class for all variable pools for activities.

Member Function Documentation

◆ getElementToString()

QString Pool::getElementToString ( int  )

Returns the element in the pool at the specified index.

Parameters
index,theindex of the element in the pool of interest.
Returns
QString, the element in the pool at the specified index.

◆ isInPool()

bool Pool::isInPool ( QString  )

Returns true if the specified value is in the pool, otherwise false.

Parameters
value,valueto find in the pool.
Returns
bool, true if the specified value is in the pool, otherwise false.

◆ name()

QString Pool::name ( )

Returns the name of the pool.

Returns
QString, the name of the pool.

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