Quick Links:

bal | bbl | bdl | bsl

Classes | Functions

balst Namespace Reference
[Component balst_objectfileformatComponent balst_stacktraceComponent balst_stacktraceconfigurationutilComponent balst_stacktraceframeComponent balst_stacktraceprinterComponent balst_stacktraceprintutilComponent balst_stacktraceresolver_dwarfreaderComponent balst_stacktracetestallocatorComponent balst_stacktraceutil]

Classes

struct  ObjectFileFormat
class  StackTrace
struct  StackTraceConfigurationUtil
class  StackTraceFrame
class  StackTracePrinter
struct  StackTracePrintUtil
struct  StackTracePrintUtil_Test
class  StackTraceTestAllocator
struct  StackTraceUtil

Functions

bool operator== (const StackTrace &lhs, const StackTrace &rhs)
bool operator!= (const StackTrace &lhs, const StackTrace &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const StackTrace &object)
void swap (StackTrace &a, StackTrace &b)
bool operator== (const StackTraceFrame &lhs, const StackTraceFrame &rhs)
bool operator!= (const StackTraceFrame &lhs, const StackTraceFrame &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const StackTraceFrame &object)
void swap (StackTraceFrame &a, StackTraceFrame &b)
bsl::ostream & operator<< (bsl::ostream &stream, const StackTracePrinter &object)

Function Documentation

bool balst::operator== ( const StackTrace &  lhs,
const StackTrace &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two StackTrace objects have the same value if they have the save length, and each of their corresponding stack-trace frames have the same value.

bool balst::operator!= ( const StackTrace &  lhs,
const StackTrace &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two StackTrace objects do not have the same value if they do not have the same length, or any of their corresponding stack-trace frames do not have the same value.

bsl::ostream& balst::operator<< ( bsl::ostream &  stream,
const StackTrace &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1), but with the attribute names elided.

void balst::swap ( StackTrace &  a,
StackTrace &  b 
)

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

bool balst::operator== ( const StackTraceFrame &  lhs,
const StackTraceFrame &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two StackTraceFrame objects have the same value if the corresponding values of their address, libraryFileName, lineNumber, mangledSymbolName, offsetFromSymbol, sourceFileName, and symbolName attributes are the same.

bool balst::operator!= ( const StackTraceFrame &  lhs,
const StackTraceFrame &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two StackTraceFrame objects do not have the same value if the corresponding values of their address, libraryFileName, lineNumber, mangledSymbolName, offsetFromSymbol, sourceFileName, or symbolName attributes are the not same.

bsl::ostream& balst::operator<< ( bsl::ostream &  stream,
const StackTraceFrame &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1), but with the attribute names elided.

void balst::swap ( StackTraceFrame &  a,
StackTraceFrame &  b 
)

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

bsl::ostream& balst::operator<< ( bsl::ostream &  stream,
const StackTracePrinter &  object 
)

Stream a newline followed by a multiline stack trace according to the parameters passed to the specified object at its creation to the specified stream.