構造体 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.hpp62 行で定義されています。


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

toppers::text_line::text_line const boost::filesystem::path &  file,
long  line = 0
[inline, explicit]
 

コンストラクタ

引数:
file ファイル名
line 行番号

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

00080       : file_( file ), line_( line )
00081     {
00082     }

toppers::text_line::text_line const std::string &  file,
long  line = 0
[inline, explicit]
 

コンストラクタ

引数:
file ファイル名
line 行番号

text_line.hpp88 行で定義されています。

00089       : file_( file, boost::filesystem::native ), line_( line )
00090     {
00091     }

toppers::text_line::text_line const char *  file,
long  line = 0
[inline, explicit]
 

コンストラクタ

引数:
file ファイル名
line 行番号

text_line.hpp97 行で定義されています。

00098       : file_( file, boost::filesystem::native ), line_( line )
00099     {
00100     }


関数

void toppers::text_line::swap text_line other  )  throw () [inline]
 

オブジェクトの交換

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

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

参照先 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 によって生成されました。