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
ParserViewManager Class Reference

ParserViewManager manages and manipulates the parser view. More...

Inheritance diagram for ParserViewManager:
Process

Public Member Functions

bool addView (string)
 Adds a view with the specified name. More...
 
bool removeView (string)
 Removes the view the specified name. More...
 
int getViewCount ()
 Returns the number of views. More...
 
ParserView getViewAt (int)
 Returns the view at the specified index. More...
 
ParserView getView (string)
 Returns the view with the specified name. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Detailed Description

ParserViewManager manages and manipulates the parser view.

Member Function Documentation

◆ addView()

bool ParserViewManager::addView ( string  )

Adds a view with the specified name.

Parameters
viewName,thename for the view.
Returns
bool, true if successful, otherwise false.

◆ getView()

ParserView ParserViewManager::getView ( string  )

Returns the view with the specified name.

Parameters
name,thename of the view of interest.
Returns
ParserView, the ParserView object with the specified name.

◆ getViewAt()

ParserView ParserViewManager::getViewAt ( int  )

Returns the view at the specified index.

Parameters
index,theindex of the view of interest.
Returns
ParserView, the ParserView object at the specified index.

◆ getViewCount()

int ParserViewManager::getViewCount ( )

Returns the number of views.

Returns
int, the number of views.

◆ removeView()

bool ParserViewManager::removeView ( string  )

Removes the view the specified name.

Parameters
viewName,thename of the view.
Returns
bool, true if successful, otherwise false.

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