OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ascostream Class Reference

OpendTect standard ascii format file writing. More...

Public Member Functions

 ascostream (od_ostream &)
 
 ascostream (od_ostream *)
 
virtual ~ascostream ()
 
bool isOK () const
 
void newParagraph ()
 
bool put (const char *, const char *val=0)
 
bool put (const char *, const MultiID &)
 
bool put (const char *, const OD::String &)
 
bool put (const char *, double)
 
bool put (const char *, double, double)
 
bool put (const char *, double, double, double)
 
bool put (const char *, double, double, double, double)
 
bool put (const char *, float)
 
bool put (const char *, float, float)
 
bool put (const char *, float, float, float)
 
bool put (const char *, float, float, float, float)
 
bool put (const char *, int)
 
bool put (const char *, int, int)
 
bool put (const char *, int, int, int)
 
bool put (const char *, int, int, int, int)
 
bool put (const char *, std::int64_t)
 
bool put (const char *, std::int64_t, std::int64_t)
 
bool put (const char *, std::int64_t, std::int64_t, std::int64_t)
 
bool put (const char *, std::int64_t, std::int64_t, std::int64_t, std::int64_t)
 
bool put (const char *, std::uint32_t)
 
bool put (const char *, std::uint32_t, std::uint32_t)
 
bool put (const char *, std::uint32_t, std::uint32_t, std::uint32_t)
 
bool put (const char *, std::uint32_t, std::uint32_t, std::uint32_t, std::uint32_t)
 
bool put (const char *, std::uint64_t)
 
bool put (const char *, std::uint64_t, std::uint64_t)
 
bool put (const char *, std::uint64_t, std::uint64_t, std::uint64_t)
 
bool put (const char *, std::uint64_t, std::uint64_t, std::uint64_t, std::uint64_t)
 
bool putHeader (const char *filetype)
 
bool putYN (const char *, bool)
 
bool putYN (const char *, bool, bool)
 
bool putYN (const char *, bool, bool, bool)
 
bool putYN (const char *, bool, bool, bool, bool)
 
od_ostreamstream ()
 

Static Public Member Functions

static bool copyFile (const char *, const char *)
 

Protected Member Functions

void putKeyword (const char *, bool wsep=true)
 

Protected Attributes

od_ostreamstrm_
 
bool strmmine_
 

Detailed Description

OpendTect standard ascii format file writing.

An ascostream puts data in an OpendTect standard ascii format file. That means it has a OpendTect standard header and often keyword/value pairs separated by a colon.

<>

Constructor & Destructor Documentation

◆ ascostream() [1/2]

ascostream::ascostream ( od_ostream )

◆ ascostream() [2/2]

ascostream::ascostream ( od_ostream )

◆ ~ascostream()

virtual ascostream::~ascostream ( )
virtual

Member Function Documentation

◆ copyFile()

static bool ascostream::copyFile ( const char *  ,
const char *   
)
static

◆ isOK()

bool ascostream::isOK ( ) const

◆ newParagraph()

void ascostream::newParagraph ( )

◆ put() [1/27]

bool ascostream::put ( const char *  ,
const char *  val = 0 
)

◆ put() [2/27]

bool ascostream::put ( const char *  ,
const MultiID  
)

◆ put() [3/27]

bool ascostream::put ( const char *  ,
const OD::String  
)

◆ put() [4/27]

bool ascostream::put ( const char *  ,
double   
)

◆ put() [5/27]

bool ascostream::put ( const char *  ,
double  ,
double   
)

◆ put() [6/27]

bool ascostream::put ( const char *  ,
double  ,
double  ,
double   
)

◆ put() [7/27]

bool ascostream::put ( const char *  ,
double  ,
double  ,
double  ,
double   
)

◆ put() [8/27]

bool ascostream::put ( const char *  ,
float   
)

◆ put() [9/27]

bool ascostream::put ( const char *  ,
float  ,
float   
)

◆ put() [10/27]

bool ascostream::put ( const char *  ,
float  ,
float  ,
float   
)

◆ put() [11/27]

bool ascostream::put ( const char *  ,
float  ,
float  ,
float  ,
float   
)

◆ put() [12/27]

bool ascostream::put ( const char *  ,
int   
)

◆ put() [13/27]

bool ascostream::put ( const char *  ,
int  ,
int   
)

◆ put() [14/27]

bool ascostream::put ( const char *  ,
int  ,
int  ,
int   
)

◆ put() [15/27]

bool ascostream::put ( const char *  ,
int  ,
int  ,
int  ,
int   
)

◆ put() [16/27]

bool ascostream::put ( const char *  ,
std::int64_t   
)

◆ put() [17/27]

bool ascostream::put ( const char *  ,
std::int64_t  ,
std::int64_t   
)

◆ put() [18/27]

bool ascostream::put ( const char *  ,
std::int64_t  ,
std::int64_t  ,
std::int64_t   
)

◆ put() [19/27]

bool ascostream::put ( const char *  ,
std::int64_t  ,
std::int64_t  ,
std::int64_t  ,
std::int64_t   
)

◆ put() [20/27]

bool ascostream::put ( const char *  ,
std::uint32_t   
)

◆ put() [21/27]

bool ascostream::put ( const char *  ,
std::uint32_t  ,
std::uint32_t   
)

◆ put() [22/27]

bool ascostream::put ( const char *  ,
std::uint32_t  ,
std::uint32_t  ,
std::uint32_t   
)

◆ put() [23/27]

bool ascostream::put ( const char *  ,
std::uint32_t  ,
std::uint32_t  ,
std::uint32_t  ,
std::uint32_t   
)

◆ put() [24/27]

bool ascostream::put ( const char *  ,
std::uint64_t   
)

◆ put() [25/27]

bool ascostream::put ( const char *  ,
std::uint64_t  ,
std::uint64_t   
)

◆ put() [26/27]

bool ascostream::put ( const char *  ,
std::uint64_t  ,
std::uint64_t  ,
std::uint64_t   
)

◆ put() [27/27]

bool ascostream::put ( const char *  ,
std::uint64_t  ,
std::uint64_t  ,
std::uint64_t  ,
std::uint64_t   
)

◆ putHeader()

bool ascostream::putHeader ( const char *  filetype)

◆ putKeyword()

void ascostream::putKeyword ( const char *  ,
bool  wsep = true 
)
protected

◆ putYN() [1/4]

bool ascostream::putYN ( const char *  ,
bool   
)

◆ putYN() [2/4]

bool ascostream::putYN ( const char *  ,
bool  ,
bool   
)

◆ putYN() [3/4]

bool ascostream::putYN ( const char *  ,
bool  ,
bool  ,
bool   
)

◆ putYN() [4/4]

bool ascostream::putYN ( const char *  ,
bool  ,
bool  ,
bool  ,
bool   
)

◆ stream()

od_ostream& ascostream::stream ( )
inline

Member Data Documentation

◆ strm_

od_ostream& ascostream::strm_
protected

◆ strmmine_

bool ascostream::strmmine_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024