Public Member Functions | Static Private Attributes | List of all members
gnsstk::GSatID Class Reference

Detailed Description

Definition at line 50 of file GSatID.hpp.

#include <GSatID.hpp>

Inheritance diagram for gnsstk::GSatID:
Inheritance graph
[legend]

Public Member Functions

void fromString (const std::string &s)
 
char getfill ()
 get the fill character used in output More...
 
 GSatID ()
 empty constructor, creates an invalid object More...
 
 GSatID (const SatID &sat)
 cast SatID to GSatID More...
 
 GSatID (int p, SatelliteSystem s)
 explicit constructor, no defaults More...
 
 GSatID (std::string &str)
 
bool operator!= (const GSatID &right) const
 boolean operator!= More...
 
bool operator< (const GSatID &right) const
 operator< (used by STL to sort) More...
 
bool operator<= (const GSatID &right) const
 boolean operator<= More...
 
bool operator== (const GSatID &right) const
 operator == More...
 
bool operator> (const GSatID &right) const
 boolean operator> More...
 
bool operator>= (const GSatID &right) const
 boolean operator>= More...
 
char setfill (char c)
 set the fill character used in output return the current fill character More...
 
char systemChar () const
 return the single-character system descriptor More...
 
std::string systemString () const
 return string describing system More...
 
std::string toString () const
 convert to string More...
 
- Public Member Functions inherited from gnsstk::SatID
void dump (std::ostream &s) const
 Convenience output method. More...
 
bool isValid () const
 
bool isWild () const
 return true if any of the fields are set to match wildcards. More...
 
void makeWild ()
 
bool operator!= (const SatID &right) const
 operator != for SatID More...
 
bool operator< (const SatID &right) const
 operator < for SatID : order by system, id More...
 
bool operator<= (const SatID &right) const
 operator <= for SatID More...
 
bool operator== (const SatID &right) const
 operator == for SatID More...
 
bool operator> (const SatID &right) const
 operator > for SatID More...
 
bool operator>= (const SatID &right) const
 operator >= for SatID More...
 
 SatID ()
 Initialize with invalid data with no wildcards. More...
 
 SatID (int p)
 
 SatID (int p, SatelliteSystem s)
 
 SatID (SatelliteSystem s)
 

Static Private Attributes

static GNSSTK_EXPORT char fillchar = '0'
 fill character used during stream output More...
 

Additional Inherited Members

- Public Attributes inherited from gnsstk::SatID
int id
 Satellite identifier, e.g. PRN. More...
 
SatelliteSystem system
 System for this satellite. More...
 
bool wildId
 If true, any satellite matches. More...
 
bool wildSys
 If true, any system matches. More...
 

Constructor & Destructor Documentation

◆ GSatID() [1/4]

gnsstk::GSatID::GSatID ( )
inline

empty constructor, creates an invalid object

Definition at line 54 of file GSatID.hpp.

◆ GSatID() [2/4]

gnsstk::GSatID::GSatID ( int  p,
SatelliteSystem  s 
)
inline

explicit constructor, no defaults

Definition at line 61 of file GSatID.hpp.

◆ GSatID() [3/4]

gnsstk::GSatID::GSatID ( std::string &  str)
inline

constructor from string

Exceptions
Exception

Definition at line 86 of file GSatID.hpp.

◆ GSatID() [4/4]

gnsstk::GSatID::GSatID ( const SatID sat)
inline

cast SatID to GSatID

Definition at line 99 of file GSatID.hpp.

Member Function Documentation

◆ fromString()

void gnsstk::GSatID::fromString ( const std::string &  s)
inline

read from string

Note
GPS is default system (no or unknown system char)
Exceptions
Exception

Definition at line 216 of file GSatID.hpp.

◆ getfill()

char gnsstk::GSatID::getfill ( )
inline

get the fill character used in output

Definition at line 110 of file GSatID.hpp.

◆ operator!=()

bool gnsstk::GSatID::operator!= ( const GSatID right) const
inline

boolean operator!=

Definition at line 132 of file GSatID.hpp.

◆ operator<()

bool gnsstk::GSatID::operator< ( const GSatID right) const
inline

operator< (used by STL to sort)

Definition at line 121 of file GSatID.hpp.

◆ operator<=()

bool gnsstk::GSatID::operator<= ( const GSatID right) const
inline

boolean operator<=

Definition at line 144 of file GSatID.hpp.

◆ operator==()

bool gnsstk::GSatID::operator== ( const GSatID right) const
inline

operator ==

Definition at line 115 of file GSatID.hpp.

◆ operator>()

bool gnsstk::GSatID::operator> ( const GSatID right) const
inline

boolean operator>

Definition at line 150 of file GSatID.hpp.

◆ operator>=()

bool gnsstk::GSatID::operator>= ( const GSatID right) const
inline

boolean operator>=

Definition at line 138 of file GSatID.hpp.

◆ setfill()

char gnsstk::GSatID::setfill ( char  c)
inline

set the fill character used in output return the current fill character

Definition at line 102 of file GSatID.hpp.

◆ systemChar()

char gnsstk::GSatID::systemChar ( ) const
inline

return the single-character system descriptor

Definition at line 156 of file GSatID.hpp.

◆ systemString()

std::string gnsstk::GSatID::systemString ( ) const
inline

return string describing system

Definition at line 184 of file GSatID.hpp.

◆ toString()

std::string gnsstk::GSatID::toString ( ) const
inline

convert to string

Definition at line 295 of file GSatID.hpp.

Member Data Documentation

◆ fillchar

char gnsstk::GSatID::fillchar = '0'
staticprivate

fill character used during stream output

Definition at line 306 of file GSatID.hpp.


The documentation for this class was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:45