LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::Tree::Result Struct Reference

Returned by Tree operations; contain a status code and an error message. More...

#include <Tree.h>

List of all members.

Public Member Functions

 Result ()
 Default constructor.

Public Attributes

Status status
 A code for whether an operation succeeded or why it did not.
std::string error
 If status is not OK, this is a human-readable message describing what went wrong.

Detailed Description

Returned by Tree operations; contain a status code and an error message.

Definition at line 78 of file Tree.h.


Constructor & Destructor Documentation

Default constructor.

Sets status to OK and error to the empty string.

Definition at line 58 of file Tree.cc.


Member Data Documentation

A code for whether an operation succeeded or why it did not.

This is meant to be used programmatically.

Definition at line 87 of file Tree.h.

If status is not OK, this is a human-readable message describing what went wrong.

Definition at line 92 of file Tree.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines