rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ripple::KnownFormats< KeyType, Derived >::Item Class Reference

A known format. More...

#include <KnownFormats.h>

Collaboration diagram for ripple::KnownFormats< KeyType, Derived >::Item:
Collaboration graph
[legend]

Public Member Functions

 Item (char const *name, KeyType type, std::initializer_list< SOElement > uniqueFields, std::initializer_list< SOElement > commonFields)
 
std::string const & getName () const
 Retrieve the name of the format.
 
KeyType getType () const
 Retrieve the transaction type this format represents.
 
SOTemplate const & getSOTemplate () const
 

Private Attributes

SOTemplate soTemplate_
 
std::string const name_
 
KeyType const type_
 

Detailed Description

template<class KeyType, class Derived>
class ripple::KnownFormats< KeyType, Derived >::Item

A known format.

Definition at line 28 of file KnownFormats.h.

Constructor & Destructor Documentation

◆ Item()

template<class KeyType , class Derived >
ripple::KnownFormats< KeyType, Derived >::Item::Item ( char const *  name,
KeyType  type,
std::initializer_list< SOElement uniqueFields,
std::initializer_list< SOElement commonFields 
)

Definition at line 31 of file KnownFormats.h.

Member Function Documentation

◆ getName()

template<class KeyType , class Derived >
std::string const & ripple::KnownFormats< KeyType, Derived >::Item::getName ( ) const

Retrieve the name of the format.

Definition at line 48 of file KnownFormats.h.

◆ getType()

template<class KeyType , class Derived >
KeyType ripple::KnownFormats< KeyType, Derived >::Item::getType ( ) const

Retrieve the transaction type this format represents.

Definition at line 56 of file KnownFormats.h.

◆ getSOTemplate()

template<class KeyType , class Derived >
SOTemplate const & ripple::KnownFormats< KeyType, Derived >::Item::getSOTemplate ( ) const

Definition at line 62 of file KnownFormats.h.

Member Data Documentation

◆ soTemplate_

template<class KeyType , class Derived >
SOTemplate ripple::KnownFormats< KeyType, Derived >::Item::soTemplate_
private

Definition at line 68 of file KnownFormats.h.

◆ name_

template<class KeyType , class Derived >
std::string const ripple::KnownFormats< KeyType, Derived >::Item::name_
private

Definition at line 69 of file KnownFormats.h.

◆ type_

template<class KeyType , class Derived >
KeyType const ripple::KnownFormats< KeyType, Derived >::Item::type_
private

Definition at line 70 of file KnownFormats.h.