DEIMOS
Earth Observation Mission CFI Software
DataHandling Software User Manual
ESA

EECFI::StarFile Class Reference

Class for reading star files. More...

Inheritance diagram for EECFI::StarFile:
EECFI::EEFile EECFI::CfiClass

List of all members.

Public Member Functions

 StarFile ()
 Default constructor.
 StarFile (const std::string &fileNam)
 Constructor with file name.
 StarFile (const StarFile &other)
 ~StarFile () NOEXCEPT
 Destructor.
StarFileoperator= (const StarFile &other)
void read ()
 Read the whole file.
void read (const std::string &zoneIdentity)
 Read one star.
std::vector< std::string > readIds () const
 Read the list of star names.

Public Attributes

std::vector< StarRecstarRec

Detailed Description

Class for reading star files.


Constructor & Destructor Documentation

EECFI::StarFile::StarFile (  ) 

Default constructor.

EECFI::StarFile::StarFile ( const std::string &  fileNam  )  [explicit]

Constructor with file name.

EECFI::StarFile::StarFile ( const StarFile other  ) 

Copy constructor.

Parameters:
other The StarFile to copy from
EECFI::StarFile::~StarFile (  ) 

Destructor.


Member Function Documentation

StarFile & EECFI::StarFile::operator= ( const StarFile other  ) 

Copy assigment operator.

Parameters:
other The StarFile to copy/assign from

References starRec.

void EECFI::StarFile::read ( const std::string &  zoneIdentity  ) 
vector< string > EECFI::StarFile::readIds (  )  const

Read the list of star names.

Returns:
Returns a vector of strings with the names of the stars.

References EECFI::EEFile::fileName, and EECFI::CfiClass::throwWarn.


Member Data Documentation

Referenced by operator=(), and read().


Generated on Mon Dec 11 2023 13:28:17 for by doxygen 1.7.1