ClassMap handles the class maps for QoS.
More...
ClassMap handles the class maps for QoS.
◆ getDescription()
string ClassMap::getDescription |
( |
| ) |
|
Returns the class map description.
- Returns
- string, the class map description.
◆ getMapName()
string ClassMap::getMapName |
( |
| ) |
|
Returns the class map name.
- Returns
- string, the class map name.
◆ getMapType()
QoS::eMapType ClassMap::getMapType |
( |
| ) |
|
Returns the class map type.
- Returns
- enum<QoS::eMapType>, the map type. Map types: type_default = 0, type_control = 1, type_inspect = 2, type_logging = 3
◆ getMatchType()
QoS::EClassMapMatchType ClassMap::getMatchType |
( |
| ) |
|
Returns the class map match type.
- Returns
- enum<QoS::EClassMapMatchType>, the class map match type. Match types: eMatchAny = 0, eMatchAll = 1
◆ getMatchTypeString()
string ClassMap::getMatchTypeString |
( |
| ) |
|
Returns the class map match types.
- Returns
- string, the class map match types.
◆ getStatementCnt()
int ClassMap::getStatementCnt |
( |
| ) |
|
Returns the number of statements in this class map.
- Returns
- int, the number of statements in this class map.
◆ isClassDefault()
bool ClassMap::isClassDefault |
( |
| ) |
|
Returns true if this class map is class-default, otherwise false.
- Returns
- bool, true if this class map is class-default, otherwise false.
◆ setDescription()
void ClassMap::setDescription |
( |
string |
| ) |
|
Sets the class map description.
- Parameters
-
description,the | class map description. |
◆ setMapType()
void ClassMap::setMapType |
( |
QoS::eMapType |
| ) |
|
Sets the class map type.
- Parameters
-
mapType,the | map type. Map types: type_default = 0, type_control = 1, type_inspect = 2, type_logging = 3 |
◆ setMatchType()
void ClassMap::setMatchType |
( |
QoS::EClassMapMatchType |
| ) |
|
Sets the class map match type.
- Parameters
-
enum<QoS::EClassMapMatchType>,the | class map match type. Match types: eMatchAny = 0, eMatchAll = 1 |
◆ toReverseString()
string ClassMap::toReverseString |
( |
| ) |
|
Returns the class map string.
- Parameters
-
string,the | class map string. |
◆ toString()
string ClassMap::toString |
( |
| ) |
|
Returns the class map reverse string.
- Parameters
-
string,the | class map reverse string. |
The documentation for this class was generated from the following file: