PinErrorBuf Class Reference

Inherits pin_errbuf.

List of all members.

Public Member Functions

 PinErrorBuf ()
int32 getLocation () const
int32 getErrClass () const
int32 getError () const
int32 getField () const
int32 getRecordID () const
int32 getReserved () const
int32 getLineNo () const
const char * getFilename () const
pin_fld_num_t getFacility () const
int32 getMessageID () const
time_t getTimeSec () const
time_t getTimeUSec () const
int32 getVersion () const
pin_errbuf_t * getNextBufPtr () const
int32 getReserved2 () const
 PinErrorBuf (const PinErrorBuf &, PinBool owns=PIN_BOOLEAN_TRUE)
 PinErrorBuf (const char *, int32)
 PinErrorBuf (const pin_errbuf_t &, PinBool owns=PIN_BOOLEAN_TRUE)
 PinErrorBuf (const pin_errbuf_t *, PinBool owns=PIN_BOOLEAN_TRUE)
void grab (pin_errbuf_t *pointee, PinBool owns)
void takeFrom (PinErrorBuf &other)
void copyFrom (const PinErrorBuf &other)
 ~PinErrorBuf ()
const pin_errbuf_t * get () const
pin_errbuf_t * get () const
pin_errbuf_t * get ()
PinErrorBuf & operator= (const PinErrorBuf &)
void clear ()
void Clear ()

Static Public Member Functions

static PinErrorBufObserver createAsObserved (pin_errbuf_t *pval)
static PinErrorBufOwner createAsOwned (pin_errbuf_t *pval)
static pin_errbuf_t * copy (const pin_errbuf_t *srcp, pin_errbuf_t *destp)

Private Attributes

PinBool m_owns


Constructor & Destructor Documentation

PinErrorBuf::PinErrorBuf (  ) 

PinErrorBuf::PinErrorBuf ( const PinErrorBuf &  ebuf,
PinBool  owns = PIN_BOOLEAN_TRUE 
)

PinErrorBuf::PinErrorBuf ( const char *  filename,
int32  line_no 
)

PinErrorBuf::PinErrorBuf ( const pin_errbuf_t &  ebuf,
PinBool  owns = PIN_BOOLEAN_TRUE 
)

This makes a copy of the ebuf. Not the usual use-case.

Deprecated:
Use createAsObserved() or createAsOwned() instead.

PinErrorBuf::PinErrorBuf ( const pin_errbuf_t *  ebufp,
PinBool  owns = PIN_BOOLEAN_TRUE 
)

This makes a copy of the ebuf. Not the usual use-case.

Deprecated:
Use createAsObserved() instead.

PinErrorBuf::~PinErrorBuf (  ) 


Member Function Documentation

PinErrorBufObserver PinErrorBuf::createAsObserved ( pin_errbuf_t *  pval  )  [static]

PinErrorBufOwner PinErrorBuf::createAsOwned ( pin_errbuf_t *  pval  )  [static]

int32 PinErrorBuf::getLocation (  )  const

int32 PinErrorBuf::getErrClass (  )  const

int32 PinErrorBuf::getError (  )  const

int32 PinErrorBuf::getField (  )  const

int32 PinErrorBuf::getRecordID (  )  const

int32 PinErrorBuf::getReserved (  )  const

int32 PinErrorBuf::getLineNo (  )  const

const char * PinErrorBuf::getFilename (  )  const

pin_fld_num_t PinErrorBuf::getFacility (  )  const

int32 PinErrorBuf::getMessageID (  )  const

time_t PinErrorBuf::getTimeSec (  )  const

time_t PinErrorBuf::getTimeUSec (  )  const

int32 PinErrorBuf::getVersion (  )  const

pin_errbuf_t * PinErrorBuf::getNextBufPtr (  )  const

int32 PinErrorBuf::getReserved2 (  )  const

void PinErrorBuf::grab ( pin_errbuf_t *  pointee,
PinBool  owns 
)

void PinErrorBuf::takeFrom ( PinErrorBuf &  other  ) 

void PinErrorBuf::copyFrom ( const PinErrorBuf &  other  ) 

pin_errbuf_t * PinErrorBuf::get (  )  const

pin_errbuf_t* PinErrorBuf::get (  )  const

pin_errbuf_t * PinErrorBuf::get (  ) 

PinErrorBuf & PinErrorBuf::operator= ( const PinErrorBuf &  ebuf  ) 

void PinErrorBuf::clear (  ) 

void PinErrorBuf::Clear (  ) 

pin_errbuf_t * PinErrorBuf::copy ( const pin_errbuf_t *  srcp,
pin_errbuf_t *  destp 
) [static]


Member Data Documentation


Copyright © 2017, Oracle and/or its affiliates.