|
GTPin
|
Template class that provides constructor for Knob arguments associated with a vector of values of type 'T'. More...
#include <gt_knob.h>
Inherits gtpin::Knob< T >.
Public Types | |
| typedef std::vector< T > | Vector |
| Container of Knob values. | |
Public Member Functions | |
| KnobVector (const std::string &name, const Vector &initValue, const std::string &helpMsg="", uint32_t flags=KNOB_FLAG_NONE, char symId=0) | |
| KnobVector & | operator= (const T &val) |
| Assignment operator. | |
| KnobVector & | operator+= (const T &val) |
| Addition assignment operator. | |
Template class that provides constructor for Knob arguments associated with a vector of values of type 'T'.
| gtpin::KnobVector< T >::KnobVector | ( | const std::string & | name, |
| const Vector & | initValue, | ||
| const std::string & | helpMsg = "", |
||
| uint32_t | flags = KNOB_FLAG_NONE, |
||
| char | symId = 0 |
||
| ) | [inline] |
Construct a new vector-value Knob argument, and register it in the Knob database.
| [in] | name | Unique identifier of the Knob |
| [in] | initValue | The initial vector of values |
| [in] | helpMsg | Description of the Knob in the help message |
| [in] | flags | A combination of KNOB_FLAG properties. Specifying KNOB_FLAG_VECTOR flag is not necessary; this flag is implied |
| [in] | symId | A single-symbol identifier of the Knob in the command line, or \0 character if such identifier does not exist |
Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT
1.7.4