構造体 toppers::text_lineファイル名と行番号の保持クラス
[詳細]
#include "toppers/text_line.hpp"
すべてのメンバ一覧
|
Public メソッド |
| text_line () |
| デフォルトコンストラクタ
|
| text_line (const boost::filesystem::path &file, long line=0) |
| コンストラクタ
|
| text_line (const std::string &file, long line=0) |
| コンストラクタ
|
| text_line (const char *file, long line=0) |
| コンストラクタ
|
void | swap (text_line &other) throw () |
| オブジェクトの交換
|
Public 変数 |
boost::filesystem::path | file_ |
| ファイル名
|
long | line_ |
| 行番号(1〜)
|
説明
ファイル名と行番号の保持クラス
text_line.hpp の 62 行で定義されています。
コンストラクタとデストラクタ
toppers::text_line::text_line |
( |
const boost::filesystem::path & |
file, |
|
|
long |
line = 0 |
|
) |
[inline, explicit] |
|
toppers::text_line::text_line |
( |
const std::string & |
file, |
|
|
long |
line = 0 |
|
) |
[inline, explicit] |
|
toppers::text_line::text_line |
( |
const char * |
file, |
|
|
long |
line = 0 |
|
) |
[inline, explicit] |
|
関数
void toppers::text_line::swap |
( |
text_line & |
other |
) |
throw () [inline] |
|
|
オブジェクトの交換
- 引数:
-
text_line.hpp の 105 行で定義されています。
参照先 file_・line_. 00106 {
00107 long t( line_ );
00108 line_ = other.line_;
00109 other.line_ = t;
00110 const_cast<std::string&>( file_.string() ).swap( const_cast<std::string&>( other.file_.string() ) );
00111 }
|
この構造体の説明は次のファイルから生成されました:
Copyright © 2006 by TAKAGI Nobuhisa.
このページは Wed Apr 12 16:32:04 2006 に Doxygen によって生成されました。
|
|