Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90963989
planet.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 6, 11:12
Size
741 B
Mime Type
text/x-c++
Expires
Fri, Nov 8, 11:12 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22133150
Attached To
R7571 SP4E-TB-TL-FR
planet.hh
View Options
#ifndef __PLANET__HH__
#define __PLANET__HH__
/* -------------------------------------------------------------------------- */
#include "particle.hh"
/* -------------------------------------------------------------------------- */
#include <iostream>
/* -------------------------------------------------------------------------- */
//! Class for planet
class
Planet
:
public
Particle
{
// Methods
public
:
//! Get name
std
::
string
&
getName
()
{
return
name
;
}
// Inherited methods
public
:
void
initself
(
std
::
istream
&
stream
)
override
;
void
printself
(
std
::
ostream
&
stream
)
const
override
;
private
:
std
::
string
name
;
};
/* -------------------------------------------------------------------------- */
#endif
//__PLANET__HH__
Event Timeline
Log In to Comment