Files
rippled/include/xrpl/protocol/InnerObjectFormats.h
Bart 34ef577604 refactor: Replace include guards by '#pragma once' (#6322)
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
2026-02-04 09:50:21 -05:00

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