orsa_universe.h File Reference

#include <string>
#include <vector>
#include "orsa_body.h"
#include "orsa_integrator.h"
#include "orsa_common.h"
#include "orsa_frame.h"
#include "orsa_error.h"

Include dependency graph for orsa_universe.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  orsa

Enumerations

enum  UniverseType { Real = 1, Simulated = 2 }
 This enum is used to classify the Universes: a Real Universe is composed. More...

Functions

void convert (UniverseType &ut, const unsigned int i)


Enumeration Type Documentation

enum UniverseType
 

This enum is used to classify the Universes: a Real Universe is composed.

Enumeration values:
Real 
Simulated 

Definition at line 149 of file orsa_universe.h.

00149                     {
00150     Real=1,
00151     Simulated=2
00152   };


Function Documentation

void convert UniverseType ut,
const unsigned int  i
[inline]
 

Definition at line 154 of file orsa_universe.h.

References ORSA_ERROR, orsa::Real, and orsa::Simulated.

00154                                                                {
00155     switch(i) {
00156     case 1: ut = Real;      break;
00157     case 2: ut = Simulated; break;
00158       //
00159     default:
00160       ORSA_ERROR("conversion problem: i = %i",i);
00161       break;       
00162     }
00163   }


Generated on Tue Jan 11 15:27:49 2005 for liborsa by  doxygen 1.4.0