OpendTect 8.0
Loading...
Searching...
No Matches
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...

#include <ascstream.h>

Public Member Functions

 ascostream (const ascostream &)=delete
 
 ascostream (od_ostream &)
 
 ascostream (od_ostream *)
 
virtual ~ascostream ()
 
bool isOK () const
 
void newParagraph ()
 
ascostreamoperator= (const ascostream &)=delete
 
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 *, od_int64)
 
bool put (const char *, od_int64, od_int64)
 
bool put (const char *, od_int64, od_int64, od_int64)
 
bool put (const char *, od_int64, od_int64, od_int64, od_int64)
 
bool put (const char *, od_uint32)
 
bool put (const char *, od_uint32, od_uint32)
 
bool put (const char *, od_uint32, od_uint32, od_uint32)
 
bool put (const char *, od_uint32, od_uint32, od_uint32, od_uint32)
 
bool put (const char *, od_uint64)
 
bool put (const char *, od_uint64, od_uint64)
 
bool put (const char *, od_uint64, od_uint64, od_uint64)
 
bool put (const char *, od_uint64, od_uint64, od_uint64, od_uint64)
 
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/3]

ascostream::ascostream ( od_ostream & )

◆ ascostream() [2/3]

ascostream::ascostream ( od_ostream * )

◆ ~ascostream()

virtual ascostream::~ascostream ( )
virtual

◆ ascostream() [3/3]

ascostream::ascostream ( const ascostream & )
delete

Member Function Documentation

◆ copyFile()

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

◆ isOK()

bool ascostream::isOK ( ) const

◆ newParagraph()

void ascostream::newParagraph ( )

◆ operator=()

ascostream & ascostream::operator= ( const ascostream & )
delete

◆ 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 * ,
od_int64  )

◆ put() [17/27]

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

◆ put() [18/27]

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

◆ put() [19/27]

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

◆ put() [20/27]

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

◆ put() [21/27]

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

◆ put() [22/27]

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

◆ put() [23/27]

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

◆ put() [24/27]

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

◆ put() [25/27]

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

◆ put() [26/27]

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

◆ put() [27/27]

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

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