Public メソッド | 変数
クラス mist::dicom::dicom_element

DICOMのタグとその要素を管理するクラス [詳細]

#include <dicom_info.h>

+ mist::dicom::dicom_elementに対する継承グラフ

Public メソッド

void create (const size_type nbytes)
 nbytes バイト分のメモリ領域を確保する
void copy (const unsigned char *p, const size_type nbytes)
 p から nbytes バイト分だけデータをコピーする
void swap (dicom_element &dicm)
 タグのデータの中身を交換する
void update ()
 DICOM タグの条件に合うようにデータを更新する
void release ()
 確保しているメモリ領域を開放する
bool operator< (const dicom_element &dicm) const
 DICOMタグの大小関係を調べる
const dicom_elementoperator= (const dicom_element &dicm)
 他のDICOM要素を代入する
void modify (const std::string &value)
 他のDICOM要素を代入する
double to_double () const
 double 型のデータに変換する(DICOMタグの内容が double 型をあらわしている必要がある)
float to_float () const
 float 型のデータに変換する(DICOMタグの内容が float 型をあらわしている必要がある)
signed int to_int () const
 signed int 型のデータに変換する(DICOMタグの内容が signed int 型をあらわしている必要がある)
unsigned int to_uint () const
 unsigned int 型のデータに変換する(DICOMタグの内容が unsigned int 型をあらわしている必要がある)
signed short to_short () const
 signed short 型のデータに変換する(DICOMタグの内容が signed short 型をあらわしている必要がある)
unsigned short to_ushort () const
 unsigned short 型のデータに変換する(DICOMタグの内容が ushort 型をあらわしている必要がある)
std::string to_string () const
 string 型のデータに変換する(DICOMタグの内容が string 型をあらわしている必要がある)
void show_tag () const
 DICOMタグの内容を表示する
 dicom_element ()
 デフォルトのコンストラクタ
 dicom_element (const dicom_element &dicm)
 他のDICOMタグを用いて初期化する
 dicom_element (unsigned short group, unsigned short element, const unsigned char *d=NULL, size_type nbytes=0)
 group,element,データ d,データのバイト数 nbytes をを用いて初期化する
 dicom_element (const dicom_tag &t, const unsigned char *d=NULL, size_type nbytes=0)
 DICOMタグ tag,データ d,データのバイト数 nbytes をを用いて初期化する
 ~dicom_element ()
 DICOMタグ用に確保したデータをすべて開放する
- Public メソッド inherited from mist::dicom::dicom_tag
 dicom_tag (unsigned int t=0xffffffff, dicom_vr vvr=UNKNOWN, int vvm=1, const std::string &text="", bool b=true)
 タグID t,VRタグ vvr,VMタグ vvm,コメント text のDICOMタグを作成する
 dicom_tag (unsigned int t, const std::string &vvr, int vvm, const std::string &text, bool b)
 タグID t,VRタグ vvr,VMタグ vvm,コメント text のDICOMタグを作成する
 dicom_tag (const dicom_tag &t)
 他のDICOMタグで初期化する
const dicom_tagoperator= (const dicom_tag &t)
 他のDICOMタグを代入する
bool operator< (const dicom_tag &t) const
 DICOMタグのIDで大小関係を決定する
unsigned short get_group () const
 DICOMタグのグループIDを取得する
unsigned short get_element () const
 DICOMタグのエレメントIDを取得する

変数

unsigned char * data
 DICOMタグの内容を指すポインタ
size_type num_bytes
 DICOMタグの内容に必要なバイト数
- 変数 inherited from mist::dicom::dicom_tag
unsigned int tag
 DICOMタグID.
dicom_vr vr
 VRタグ
int vm
 VMタグ
std::string comment
 コメント
bool enable
 DICOMタグを保存するかどうか(個人情報に関するタグはデフォルトで false )

説明

DICOMのタグとその要素を管理するクラス


このクラスの説明は次のファイルから生成されました:

Generated on Wed Nov 12 2014 19:44:29 for MIST by doxygen 1.8.1.2