//------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. */ //============================================================================== /** Include this to get the @ref ripple_data module. @file ripple_data.h @ingroup ripple_data */ /** Ripple specific data representation and manipulation. These form the building blocks of Ripple data. @defgroup ripple_data */ #ifndef RIPPLE_DATA_RIPPLEHEADER #define RIPPLE_DATA_RIPPLEHEADER // VFALCO TODO try to reduce these dependencies #include "../ripple_basics/ripple_basics.h" // VFALCO TODO figure out a good place for this file, perhaps give it some // additional hierarchy via directories. #include "ripple.pb.h" #include "../ripple/json/ripple_json.h" namespace ripple { #include "crypto/CBigNum.h" #include "crypto/Base58.h" // VFALCO TODO Can be moved to .cpp if we clean up setAlphabet stuff #include "crypto/Base58Data.h" #include "crypto/RFC1751.h" #include "protocol/BuildInfo.h" #include "protocol/FieldNames.h" #include "protocol/HashPrefix.h" #include "protocol/PackedMessage.h" #include "protocol/Protocol.h" #include "protocol/RippleAddress.h" #include "protocol/RippleSystem.h" #include "protocol/Serializer.h" // needs CKey #include "protocol/TER.h" #include "protocol/SerializedTypes.h" // needs Serializer, TER #include "protocol/SerializedObjectTemplate.h" #include "protocol/KnownFormats.h" #include "protocol/LedgerFormats.h" // needs SOTemplate from SerializedObjectTemplate #include "protocol/TxFormats.h" #include "protocol/SerializedObject.h" #include "protocol/TxFlags.h" #include "utility/UptimeTimerAdapter.h" } //------------------------------------------------------------------------------ namespace boost { template <> struct range_mutable_iterator { typedef std::vector ::iterator type; }; template <> struct range_const_iterator { typedef std::vector ::const_iterator type; }; template <> struct range_mutable_iterator { typedef std::vector ::iterator type; }; template <> struct range_const_iterator { typedef std::vector ::const_iterator type; }; template <> struct range_mutable_iterator { typedef ripple::STObject::iterator type; }; template <> struct range_const_iterator { typedef ripple::STObject::const_iterator type; }; template <> struct range_mutable_iterator { typedef ripple::STArray::iterator type; }; template <> struct range_const_iterator { typedef ripple::STArray::const_iterator type; }; } #endif