クラス toppers::itron::cfg_group

コンテンツ内のグループ管理クラス [詳細]

#include "toppers/itron/cfg_group.hpp"

toppers::itron::cfg_groupのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Public 型

typedef std::vector< boost::shared_ptr<
kernel_object > > 
object_container

Public メソッド

 cfg_group ()
 デフォルトコンストラクタ
 cfg_group (const std::string &name, const std::string &group_type)
 コンストラクタ
 cfg_group (const std::string &name)
 コンストラクタ
virtual ~cfg_group ()
 デストラクタ
void swap (cfg_group &other) throw ()
 グループの交換
object_containerobjects ()
 カーネルオブジェクト列の取得
const object_containerobjects () const
 カーネルオブジェクト列の取得
void objects (const object_container &container)
 カーネルオブジェクト列の設定
const std::string & name () const
 グループ名の取得
const std::string & group_type () const
 グループ種別の取得
bool parse (text::const_iterator &next, text::const_iterator last, bool ucn=false, codeset_t codeset=ascii)
 ソーステキストの構文解析

Protected メソッド

virtual bool do_parse (text::const_iterator &next, text::const_iterator last, bool ucn, codeset_t codeset)

説明

コンテンツ内のグループ管理クラス

cfg_group.hpp65 行で定義されています。


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

toppers::itron::cfg_group::cfg_group const std::string &  name,
const std::string &  group_type
[inline]
 

コンストラクタ

引数:
name グループ名
group_type グループ種別

cfg_group.hpp79 行で定義されています。

00079 : name_( name ), group_type_( group_type ) {}

toppers::itron::cfg_group::cfg_group const std::string &  name  )  [inline, explicit]
 

コンストラクタ

引数:
name グループ名

cfg_group.hpp84 行で定義されています。

00084 : name_( name ) {}


関数

const std::string& toppers::itron::cfg_group::group_type  )  const [inline]
 

グループ種別の取得

戻り値:
グループ種別を表す文字列への参照を返す

cfg_group.hpp115 行で定義されています。

00115 { return group_type_; }

const std::string& toppers::itron::cfg_group::name  )  const [inline]
 

グループ名の取得

戻り値:
グループ名を表す文字列への参照

cfg_group.hpp110 行で定義されています。

00110 { return name_; }

void toppers::itron::cfg_group::objects const object_container container  )  [inline]
 

カーネルオブジェクト列の設定

引数:
container 設定するカーネルオブジェクト列

cfg_group.hpp105 行で定義されています。

00105 { objects_ = container; }

const object_container& toppers::itron::cfg_group::objects  )  const [inline]
 

カーネルオブジェクト列の取得

戻り値:
カーネルオブジェクト列への参照を返す

cfg_group.hpp100 行で定義されています。

00100 { return objects_; }

object_container& toppers::itron::cfg_group::objects  )  [inline]
 

カーネルオブジェクト列の取得

戻り値:
カーネルオブジェクト列への参照を返す

cfg_group.hpp95 行で定義されています。

00095 { return objects_; }

bool toppers::itron::cfg_group::parse text::const_iterator &  next,
text::const_iterator  last,
bool  ucn = false,
codeset_t  codeset = ascii
 

ソーステキストの構文解析

引数:
next 解析対象の先頭位置
last 解析対象の終端位置+1
ucn 国際文字名を有効にするには true を指定する
codeset 文字コード
戻り値:
構文解析に成功すれば true を返す

cfg_group.cpp69 行で定義されています。

参照先 do_parse().

00070     {
00071       return do_parse( next, last, ucn, codeset );
00072     }

関数の呼び出しグラフ:

void toppers::itron::cfg_group::swap cfg_group other  )  throw ()
 

グループの交換

引数:
other 交換対象のオブジェクト

cfg_group.cpp54 行で定義されています。

00055     {
00056       objects_.swap( other.objects_ );
00057       name_.swap( other.name_ );
00058       group_type_.swap( other.group_type_ );
00059     }


このクラスの説明は次のファイルから生成されました:
Copyright © 2006 by TAKAGI Nobuhisa.
このページは Wed Apr 12 16:32:05 2006 に Doxygen によって生成されました。