feisty meow concerns codebase  2.140
cromp::cromp_transaction Class Reference

#include <cromp_transaction.h>

Public Types

enum  outcomes {
  OKAY = basis::common::OKAY , GARBAGE = basis::common::GARBAGE , PARTIAL = basis::common::PARTIAL , DEFINE_OUTCOME ,
  DEFINE_OUTCOME
}
 

Public Member Functions

virtual ~cromp_transaction ()
 
 DEFINE_CLASS_NAME ("cromp_transaction")
 

Static Public Member Functions

static const char * outcome_name (const basis::outcome &to_name)
 
static void flatten (basis::byte_array &packed_form, const octopi::infoton &request, const octopi::octopus_request_id &id)
 
static bool unflatten (basis::byte_array &packed_form, basis::byte_array &still_flat, octopi::octopus_request_id &id)
 
static int minimum_flat_size (const octopi::octopus_request_id &id)
 
static int minimum_flat_size (const structures::string_array &classifier, const octopi::octopus_request_id &id)
 
static bool resynchronize (basis::byte_array &packed_form)
 
static basis::outcome peek_header (const basis::byte_array &packed_form, int &length)
 

Detailed Description

Definition at line 31 of file cromp_transaction.h.

Member Enumeration Documentation

◆ outcomes

Enumerator
OKAY 
GARBAGE 
PARTIAL 
DEFINE_OUTCOME 
DEFINE_OUTCOME 

Definition at line 37 of file cromp_transaction.h.

Constructor & Destructor Documentation

◆ ~cromp_transaction()

cromp::cromp_transaction::~cromp_transaction ( )
virtual

Definition at line 58 of file cromp_transaction.cpp.

Member Function Documentation

◆ DEFINE_CLASS_NAME()

cromp::cromp_transaction::DEFINE_CLASS_NAME ( "cromp_transaction"  )

◆ flatten()

◆ minimum_flat_size() [1/2]

int cromp::cromp_transaction::minimum_flat_size ( const octopi::octopus_request_id id)
static

◆ minimum_flat_size() [2/2]

int cromp::cromp_transaction::minimum_flat_size ( const structures::string_array classifier,
const octopi::octopus_request_id id 
)
static

Definition at line 100 of file cromp_transaction.cpp.

◆ outcome_name()

const char * cromp::cromp_transaction::outcome_name ( const basis::outcome to_name)
static

Definition at line 61 of file cromp_transaction.cpp.

References basis::outcome::value().

◆ peek_header()

outcome cromp::cromp_transaction::peek_header ( const basis::byte_array packed_form,
int &  length 
)
static

◆ resynchronize()

bool cromp::cromp_transaction::resynchronize ( basis::byte_array packed_form)
static

◆ unflatten()


The documentation for this class was generated from the following files: