Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
snoop::Snoop::AppEntry Class Reference

Description

C++ representation of an run entry.

#include <Snoop.hh>

Public Member Functions

 AppEntry ()
 
 AppEntry (const std::string &uuid_, uint64_t create_millis_, uint64_t receive_millis_, pid_t pid_, const std::string &ip_address_, const std::string &machine_id_, const std::string &app_name_, const std::string &app_version_, const std::string &user_id_, int server_status_)
 
std::string to_json (bool human_readable) const
 
void from_json (const Json::Value &)
 

Public Attributes

int id
 
std::string uuid
 
uint64_t create_millis
 
uint64_t receive_millis
 
pid_t pid
 
std::string ip_address
 
std::string machine_id
 
std::string app_name
 
std::string app_version
 
std::string user_id
 
int server_status
 
bool connected
 

Constructor & Destructor Documentation

Snoop::AppEntry::AppEntry ( )
Snoop::AppEntry::AppEntry ( const std::string &  uuid_,
uint64_t  create_millis_,
uint64_t  receive_millis_,
pid_t  pid_,
const std::string &  ip_address_,
const std::string &  machine_id_,
const std::string &  app_name_,
const std::string &  app_version_,
const std::string &  user_id_,
int  server_status_ 
)

Member Function Documentation

void Snoop::AppEntry::from_json ( const Json::Value &  entry)
std::string Snoop::AppEntry::to_json ( bool  human_readable) const

Member Data Documentation

std::string snoop::Snoop::AppEntry::app_name
std::string snoop::Snoop::AppEntry::app_version
bool snoop::Snoop::AppEntry::connected
uint64_t snoop::Snoop::AppEntry::create_millis
int snoop::Snoop::AppEntry::id
std::string snoop::Snoop::AppEntry::ip_address
std::string snoop::Snoop::AppEntry::machine_id
pid_t snoop::Snoop::AppEntry::pid
uint64_t snoop::Snoop::AppEntry::receive_millis
int snoop::Snoop::AppEntry::server_status
std::string snoop::Snoop::AppEntry::user_id
std::string snoop::Snoop::AppEntry::uuid

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