| 
    Jpp master_rocky-44-g75b7c4f75
    
   the software that should make you happy 
   | 
 
Universal product identifier (UPI). More...
#include <JUPI_t.hh>
  
Public Member Functions | |
| JUPI_t () | |
| Default constructor.   | |
| JUPI_t (const JPBS_t &pbs) | |
| Constructor.   | |
| JUPI_t (const JPBS_t &pbs, const std::string &variant, const int version, const int number) | |
| Constructor.   | |
| JUPI_t (const std::string &upi) | |
| Constructor.   | |
| const JUPI_t & | getUPI () const | 
| Get UPI.   | |
| const std::string & | getVariant () const | 
| Get variant.   | |
| int | getVersion () const | 
| Get version.   | |
| int | getNumber () const | 
| Get serial number.   | |
| std::string | toString () const | 
| Convert UPI.   | |
| ClassDefNV (JUPI_t, 1) | |
| const JPBS_t & | getPBS () const | 
| Get PBS.   | |
| bool | is_valid () const | 
| Check validity.   | |
| ClassDefNV (JPBS_t, 1) | |
Static Public Attributes | |
| static const char | SEPARATOR = '/' | 
| Separator between PBS, variant and version.   | |
| static const int | DEFAULT_VERSION = -1 | 
| Default version.   | |
| static const int | DEFAULT_NUMBER = -1 | 
| Default number.   | |
| static const char | DOT = '.' | 
| Separator between PBS values.   | |
Protected Attributes | |
| std::string | variant | 
| int | version | 
| int | number | 
Friends | |
| bool | operator== (const JUPI_t &first, const JUPI_t &second) | 
| Equality.   | |
| bool | operator< (const JUPI_t &first, const JUPI_t &second) | 
| Less-than operator.   | |
| std::istream & | operator>> (std::istream &in, JUPI_t &object) | 
| Read UPI from input stream.   | |
| std::ostream & | operator<< (std::ostream &out, const JUPI_t &object) | 
| Write UPI to output stream.   | |
Universal product identifier (UPI).
The UPI consists of a PBS, variant, version and serial number.
The corresponding ASCII format reads "<int>[.<int>]*/<variant>/<int>.<int>".
The version and serial number are not subject to I/O in case their value is default. 
      
  | 
  inline | 
Default constructor.
Definition at line 44 of file JUPI_t.hh.
      
  | 
  inline | 
Constructor.
| pbs | PBS | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
| JDATABASE::JUPI_t::ClassDefNV | ( | JUPI_t | , | 
| 1 | ) | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inherited | 
Equality.
| first | first UPI | 
| second | second UPI | 
Definition at line 161 of file JUPI_t.hh.
Less-than operator.
| first | first UPI | 
| second | second UPI | 
Definition at line 177 of file JUPI_t.hh.
      
  | 
  friend | 
Read UPI from input stream.
| in | input stream | 
| object | UPI | 
Definition at line 207 of file JUPI_t.hh.
      
  | 
  friend | 
Write UPI to output stream.
| out | output stream | 
| object | UPI | 
Definition at line 254 of file JUPI_t.hh.
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  staticinherited |