| 
    Jpp
    15.0.1
    
   the software that should make you happy 
   | 
 
Universal product identifier (UPI). More...
#include <JUPI_t.hh>
  
 Public Member Functions | |
| JUPI_t () | |
| Default constructor.  More... | |
| JUPI_t (const JPBS_t &pbs) | |
| Constructor.  More... | |
| JUPI_t (const JPBS_t &pbs, const std::string &variant, const int version, const int number) | |
| Constructor.  More... | |
| JUPI_t (const std::string &upi) | |
| Constructor.  More... | |
| const JUPI_t & | getUPI () const | 
| Get UPI.  More... | |
| const std::string & | getVariant () const | 
| Get variant.  More... | |
| int | getVersion () const | 
| Get version.  More... | |
| int | getNumber () const | 
| Get serial number.  More... | |
| std::string | toString () const | 
| Convert UPI.  More... | |
| ClassDefNV (JUPI_t, 1) | |
| const JPBS_t & | getPBS () const | 
| Get PBS.  More... | |
| bool | is_valid () const | 
| Check validity.  More... | |
| ClassDefNV (JPBS_t, 1) | |
Static Public Attributes | |
| static const char | SEPARATOR = '/' | 
| Separator between PBS, variant and version.  More... | |
| static const char | DOT = '.' | 
| Separator between PBS values.  More... | |
Protected Attributes | |
| std::string | variant | 
| int | version | 
| int | number | 
Friends | |
| bool | operator== (const JUPI_t &first, const JUPI_t &second) | 
| Equality.  More... | |
| bool | operator< (const JUPI_t &first, const JUPI_t &second) | 
| Less-than operator.  More... | |
| std::istream & | operator>> (std::istream &in, JUPI_t &object) | 
| Read UPI from input stream.  More... | |
| std::ostream & | operator<< (std::ostream &out, const JUPI_t &object) | 
| Write UPI to output stream.  More... | |
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>". 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Get version.
      
  | 
  inline | 
Get serial number.
      
  | 
  inline | 
| JDATABASE::JUPI_t::ClassDefNV | ( | JUPI_t | , | 
| 1 | |||
| ) | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inherited | 
Equality.
| first | first UPI | 
| second | second UPI | 
Definition at line 158 of file JUPI_t.hh.
Less-than operator.
| first | first UPI | 
| second | second UPI | 
Definition at line 174 of file JUPI_t.hh.
      
  | 
  friend | 
Read UPI from input stream.
| in | input stream | 
| object | UPI | 
Definition at line 204 of file JUPI_t.hh.
      
  | 
  friend | 
Write UPI to output stream.
| out | output stream | 
| object | UPI | 
Definition at line 233 of file JUPI_t.hh.
      
  | 
  static | 
      
  | 
  staticinherited | 
 1.8.5