mirror of
https://github.com/XRPLF/rippled.git
synced 2026-01-19 14:15:23 +00:00
This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
29 lines
619 B
C++
29 lines
619 B
C++
#ifndef XRPL_PROTOCOL_INNER_OBJECT_FORMATS_H_INCLUDED
|
|
#define XRPL_PROTOCOL_INNER_OBJECT_FORMATS_H_INCLUDED
|
|
|
|
#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
|
|
|
|
#endif
|