#include <navigation_data.h>
Public メソッド | |
PotentialGrid () | |
デフォルトコンストラクタ。セルは空になる | |
template<class Archive> | |
void | serialize (Archive &ar, const unsigned int) |
boostから呼ばれるシリアライズメソッド | |
int | writeToXml (std::ostream &os) const |
自身をXMLとして書き出す. | |
int | writeToXml (std::string &s) const |
int | readFromXml (std::istream &is) |
自身をXMLから読み出す(値を設定). | |
int | readFromXml (const std::string &s) |
Public 変数 | |
GridInfo | info |
グリッド設定情報 | |
QuantizedVector | data |
セルデータが格納される QuantizedVector | |
Static Public 変数 | |
static const char | TYPE_ID [] |
このクラスを表す型ID文字列 |
NavData::PotentialGrid::PotentialGrid | ( | ) | [inline] |
デフォルトコンストラクタ。セルは空になる
void NavData::PotentialGrid::serialize | ( | Archive & | ar, | |
const unsigned | int | |||
) | [inline] |
boostから呼ばれるシリアライズメソッド
Archive | boostのArchiveクラス |
ar | boostのArchiveクラスのインスタンス | |
(未使用) | version |
int NavData::PotentialGrid::writeToXml | ( | std::ostream & | os | ) | const [inline] |
自身をXMLとして書き出す.
[out] | os | 書き出し先ストリーム |
0 | 成功 | |
negative | 失敗 |
int NavData::PotentialGrid::writeToXml | ( | std::string & | s | ) | const [inline] |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
[out] | s | 書き出し先文字列 |
int NavData::PotentialGrid::readFromXml | ( | std::istream & | is | ) | [inline] |
自身をXMLから読み出す(値を設定).
[out] | is | 読み出し元ストリーム |
0 | 成功 | |
negative | 失敗 |
int NavData::PotentialGrid::readFromXml | ( | const std::string & | s | ) | [inline] |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
[in] | s | 読み出し元文字列 |
グリッド設定情報
const char NavData::PotentialGrid::TYPE_ID[] [static] |
このクラスを表す型ID文字列