OpendTect  6.3
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
StringPair Class Reference

A StringPair has two strings, first() and second(). The getCompString() function concatanates the two strings with the pipe character ('|') in between. More...

Public Member Functions

 StringPair (const char *str1, const char *str2)
 
 StringPair (const char *compstr)
 
const BufferStringfirst () const
 
BufferStringfirst ()
 
const BufferStringsecond () const
 
BufferStringsecond ()
 
const OD::StringgetCompString () const
 

Static Public Member Functions

static char separator ()
 

Protected Attributes

BufferString first_
 
BufferString second_
 

Detailed Description

A StringPair has two strings, first() and second(). The getCompString() function concatanates the two strings with the pipe character ('|') in between.

Constructor & Destructor Documentation

StringPair::StringPair ( const char *  str1,
const char *  str2 
)
inline
StringPair::StringPair ( const char *  compstr)

Member Function Documentation

const BufferString& StringPair::first ( ) const
inline
BufferString& StringPair::first ( )
inline
const OD::String& StringPair::getCompString ( ) const
const BufferString& StringPair::second ( ) const
inline
BufferString& StringPair::second ( )
inline
static char StringPair::separator ( )
inlinestatic

Member Data Documentation

BufferString StringPair::first_
protected
BufferString StringPair::second_
protected

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