OpendTect  6.6
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 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 *, int64_t)
 
bool put (const char *, int64_t, int64_t)
 
bool put (const char *, int64_t, int64_t, int64_t)
 
bool put (const char *, int64_t, int64_t, int64_t, int64_t)
 
bool put (const char *, uint64_t)
 
bool put (const char *, uint64_t, uint64_t)
 
bool put (const char *, uint64_t, uint64_t, uint64_t)
 
bool put (const char *, uint64_t, uint64_t, uint64_t, uint64_t)
 
bool put (const char *, unsigned int)
 
bool put (const char *, unsigned int, unsigned int)
 
bool put (const char *, unsigned int, unsigned int, unsigned int)
 
bool put (const char *, unsigned int, unsigned int, unsigned int, unsigned int)
 
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 ()
 

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

◆ isOK()

bool ascostream::isOK ( ) const

◆ newParagraph()

void ascostream::newParagraph ( )

◆ put() [1/26]

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

◆ put() [2/26]

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

◆ put() [3/26]

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

◆ put() [4/26]

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

◆ put() [5/26]

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

◆ put() [6/26]

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

◆ put() [7/26]

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

◆ put() [8/26]

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

◆ put() [9/26]

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

◆ put() [10/26]

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

◆ put() [11/26]

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

◆ put() [12/26]

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

◆ put() [13/26]

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

◆ put() [14/26]

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

◆ put() [15/26]

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

◆ put() [16/26]

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

◆ put() [17/26]

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

◆ put() [18/26]

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

◆ put() [19/26]

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

◆ put() [20/26]

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

◆ put() [21/26]

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

◆ put() [22/26]

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

◆ put() [23/26]

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

◆ put() [24/26]

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

◆ put() [25/26]

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

◆ put() [26/26]

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

◆ 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-2022