osgEarth 2.1.1
Public Member Functions | Public Attributes

osgEarth::Util::SkyNode::StarData Struct Reference

List of all members.

Public Member Functions

 StarData ()
 StarData (std::stringstream &ss)

Public Attributes

std::string name
double right_ascension
double declination
double magnitude

Detailed Description

Definition at line 70 of file SkyNode.


Constructor & Destructor Documentation

osgEarth::Util::SkyNode::StarData::StarData ( ) [inline]

Definition at line 77 of file SkyNode.

{ }
SkyNode::StarData::StarData ( std::stringstream &  ss)

Definition at line 953 of file SkyNode.cpp.

{
  std::getline( ss, name, ',' );
  std::string buff;
  std::getline( ss, buff, ',' );
  std::stringstream(buff) >> right_ascension;
  std::getline( ss, buff, ',' );
  std::stringstream(buff) >> declination;
  std::getline( ss, buff, '\n' );
  std::stringstream(buff) >> magnitude;
}

Member Data Documentation

Definition at line 74 of file SkyNode.

Definition at line 75 of file SkyNode.

Definition at line 72 of file SkyNode.

Definition at line 73 of file SkyNode.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines