mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-08 07:52:29 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
26 lines
516 B
C++
26 lines
516 B
C++
#pragma once
|
|
|
|
#include <xrpl/protocol/KnownFormats.h>
|
|
|
|
namespace xrpl {
|
|
|
|
/** Manages the list of known inner object formats.
|
|
*/
|
|
class InnerObjectFormats : public KnownFormats<int, InnerObjectFormats>
|
|
{
|
|
private:
|
|
/** Create the object.
|
|
This will load the object with all the known inner object formats.
|
|
*/
|
|
InnerObjectFormats();
|
|
|
|
public:
|
|
static InnerObjectFormats const&
|
|
getInstance();
|
|
|
|
SOTemplate const*
|
|
findSOTemplateBySField(SField const& sField) const;
|
|
};
|
|
|
|
} // namespace xrpl
|