Namespaces |
namespace | UA |
| University of Arizona.
|
namespace | UA::HiRISE |
| High Resolution Imaging Science Experiment.
|
Defines |
#define | FILESYSTEM_PATHNAME_DELIMITER '/' |
| Host filesystem pathname delimiter.
|
#define | SECONDS_PRECISION 3 |
#define | SPICE_METAKERNEL_VARIABLE_NAME "SPICE_METAKERNEL" |
#define | DEFAULT_SPICE_METAKERNEL_PATHNAME "/HiRISE/Data/NAIF/kernel.list" |
#define | MRO_CLOCK_NAIF_ID -74999 |
#define | DEFAULT_INVALID_UTC_TIME "0000-00-00T00:00:00.000" |
Functions |
std::ostream & | operator<< (std::ostream &stream, const Data_Component &component) |
| Prints a Data_Component to a stream.
|
std::ostream & | print_value (u_int_32 value, int format=Data_Component::DECIMAL, std::ostream &stream=std::cout, int width=0) |
| Prints a value in a consistent Data_Component format.
|
string | bits (const unsigned int value, unsigned int count=0) |
| Gets the string representation of a value in binary.
|
unsigned int | max_strlen (const char **strings) |
| Finds the length of the longest string in the list.
|
std::string | to_upper (const std::string &characters) |
| Converts all characters of a string to uppercase.
|
Parameter * | PVL_parameter (idaeim::PVL::Aggregate &aggregate, std::string pathname, bool case_sensitive=false, int skip=0, Parameter_Class_Selection parameter_class=ANY_PARAMETER) |
| Gets a named PVL Parameter in an aggregate.
|
std::vector< std::string > | PVL_values (idaeim::PVL::Aggregate &aggregate, std::string pathname, bool case_sensitive=false, int skip=0) |
| Gets the values of a named PVL Parameter in an aggregate.
|
bool | PVL_value (idaeim::PVL::Aggregate &aggregate, std::string pathname, unsigned int value, bool case_sensitive=false, int skip=0) |
| Sets the value of a named PVL parameter in an aggregate.
|
bool | PVL_value (idaeim::PVL::Aggregate &aggregate, std::string pathname, int value, bool case_sensitive, int skip) |
bool | PVL_value (idaeim::PVL::Aggregate &aggregate, std::string pathname, const std::string &value, bool case_sensitive=false, int skip=0) |
| Sets the value of a named PVL parameter in an aggregate.
|
string | UTC_time (double seconds, unsigned int epoch=Instrument::SPACECRAFT_EPOCH) |
| Converts time in seconds to UTC representation.
|
string | clock_count (double seconds, Clock_Selector clock=HiRISE_Clock) |
| Converts time in seconds to clock count representation.
|
double | seconds (const std::string &clock_count, Clock_Selector clock=HiRISE_Clock) |
| Converts a clock count representation to time in seconds.
|
bool | member_of (const unsigned int value, const unsigned int *array, int size) |
| Tests if a value is a member of an array.
|
bool | member_of (const char *const value, const char *const array[], int size) |
| Test if a value is a member of an array.
|
string | hostname () |
| Gets the name of the host system.
|
bool | file_exists (const std::string &filename) |
| Tests if a file exists.
|
string | pathname (const std::string &filename="") |
| Gets a fully qualified pathname for a filename.
|
string | pathname (const std::string &directory, const std::string &filename, const std::string &extension) |
| Assembles a pathname from directory, filename, and extension segments.
|
string | filename (const std::string &pathname) |
| Gets the filename portion of a pathname.
|
string | shift (std::string lines, int amount) |
| Shifts (indents) lines of text by the specified number of spaces.
|
string | plural (int count) |
| Gets a pluralization string.
|