クラス rcsc::TeamGraphic::XpmTile

8x8 pixels xpm data contained by the TeamGraphic [詳細]

#include <team_graphic.h>

すべてのメンバ一覧

Public メソッド

 XpmTile (const int width, const int height, const int cpp)
 initialize xpm header information
int width () const
 get the xpm width
int height () const
 get the xpm height
int cpp () const
 get the value of characters per pixel.
const std::vector< boost::shared_ptr<
std::string > > & 
colors () const
 get used color strings
const std::vector< std::string > & pixelLines () const
 get pixel lines
void addColor (boost::shared_ptr< std::string > color)
 add xpm color data string
void addPixelLine (const std::string &line)
 add pixel line data
std::ostream & print (std::ostream &os) const
 output xpm lines


説明

8x8 pixels xpm data contained by the TeamGraphic


コンストラクタとデストラクタ

rcsc::TeamGraphic::XpmTile::XpmTile ( const int  width,
const int  height,
const int  cpp 
)

initialize xpm header information

引数:
width xpm width
height xpm height
n_color number of
cpp characters per pixel


関数

int rcsc::TeamGraphic::XpmTile::width (  )  const [inline]

get the xpm width

戻り値:
pixel width value

int rcsc::TeamGraphic::XpmTile::height (  )  const [inline]

get the xpm height

戻り値:
pixel height value

int rcsc::TeamGraphic::XpmTile::cpp (  )  const [inline]

get the value of characters per pixel.

戻り値:
the value of characters per pixel.

const std::vector< boost::shared_ptr< std::string > >& rcsc::TeamGraphic::XpmTile::colors (  )  const [inline]

get used color strings

戻り値:
color string container

const std::vector< std::string >& rcsc::TeamGraphic::XpmTile::pixelLines (  )  const [inline]

get pixel lines

戻り値:
pixel line container

void rcsc::TeamGraphic::XpmTile::addColor ( boost::shared_ptr< std::string >  color  )  [inline]

add xpm color data string

引数:
line pointer to the color data string

void rcsc::TeamGraphic::XpmTile::addPixelLine ( const std::string &  line  )  [inline]

add pixel line data

引数:
line pixel line string

std::ostream & rcsc::TeamGraphic::XpmTile::print ( std::ostream &  os  )  const

output xpm lines

引数:
os refrence to the output stream
戻り値:
refrence to the output stream


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:25 2008に生成されました。  doxygen 1.5.0