Jpp
|
Product breakdown structure (PBS). More...
#include <JPBS.hh>
Public Member Functions | |
JPBS () | |
Default constructor. More... | |
JPBS (const int i0, const int i1=-1, const int i2=-1, const int i3=-1, const int i4=-1, const int i5=-1, const int i6=-1, const int i7=-1, const int i8=-1, const int i9=-1) | |
Constructor. More... | |
JPBS (const std::string &input) | |
Constructor. More... | |
const JPBS & | getPBS () const |
Get PBS. More... | |
bool | is_valid () const |
Check validity. More... | |
ClassDefNV (JPBS, 1) | |
Static Public Attributes | |
static const char | DOT = '.' |
Separator between PBS values. More... | |
static const char | SEPARATOR = '/' |
Separator between PBS and variant. More... | |
Friends | |
bool | operator== (const JPBS &first, const JPBS &second) |
Equality operator. More... | |
bool | operator< (const JPBS &first, const JPBS &second) |
Less-than operator. More... | |
std::istream & | operator>> (std::istream &in, JPBS &object) |
Read PBS from input stream. More... | |
std::ostream & | operator<< (std::ostream &out, const JPBS &object) |
Write PBS to output stream. More... | |
Product breakdown structure (PBS).
The PBS consists of one (or more) integer value(s), separated by JPBS::DOT.
The ASCII format should therefore read "<int>[.<int>]+"
.
|
inline |
|
inline |
|
inline |
|
inline |
JDATABASE::JPBS::ClassDefNV | ( | JPBS | , |
1 | |||
) |
Equality operator.
first | first PBS |
second | second PBS |
Less-than operator.
first | first PBS |
second | second PBS |
|
friend |
|
friend |
|
static |
|
static |