set of uniform number
More...
#include <clang_unum.h>
|
|
typedef std::shared_ptr< CLangUnumSet > | Ptr |
| | smart pointer type
|
| |
|
typedef std::set< int > | Set |
| | set container type
|
| |
|
|
| CLangUnumSet () |
| | create empty uniform number set.
|
| |
| | CLangUnumSet (const Set &unum_set) |
| | create with uniform number set. More...
|
| |
| | CLangUnumSet (const int unum) |
| | create with an uniform number. More...
|
| |
| const Set & | entries () const |
| | get entry numbers More...
|
| |
| void | add (const int unum) |
| | add new entry More...
|
| |
| bool | isAll () const |
| | check if the set contains '0' that indicates all uniform number. More...
|
| |
| bool | contains (const int unum) const |
| | check if the set contains the uniform number. More...
|
| |
| std::ostream & | print (std::ostream &os) const |
| | output clang format message More...
|
| |
◆ CLangUnumSet() [1/2]
| rcsc::CLangUnumSet::CLangUnumSet |
( |
const Set & |
unum_set | ) |
|
|
inlineexplicit |
create with uniform number set.
- Parameters
-
| unum_set | uniform number set. |
◆ CLangUnumSet() [2/2]
| rcsc::CLangUnumSet::CLangUnumSet |
( |
const int |
unum | ) |
|
|
inlineexplicit |
create with an uniform number.
- Parameters
-
| unum | uniform number entry. |
◆ add()
| void rcsc::CLangUnumSet::add |
( |
const int |
unum | ) |
|
|
inline |
◆ contains()
| bool rcsc::CLangUnumSet::contains |
( |
const int |
unum | ) |
const |
|
inline |
check if the set contains the uniform number.
- Parameters
-
| unum | checked uniform number |
- Returns
- checked result
◆ entries()
| const Set & rcsc::CLangUnumSet::entries |
( |
| ) |
const |
|
inline |
get entry numbers
- Returns
- the set of uniform numbers
◆ isAll()
| bool rcsc::CLangUnumSet::isAll |
( |
| ) |
const |
|
inline |
check if the set contains '0' that indicates all uniform number.
- Returns
- checked result
◆ print()
| std::ostream & rcsc::CLangUnumSet::print |
( |
std::ostream & |
os | ) |
const |
output clang format message
- Parameters
-
| os | reference to the output stream |
- Returns
- os reference to the output stream
The documentation for this class was generated from the following file: