diff --git a/docs/html/annotated 3.html b/docs/html/annotated 3.html deleted file mode 100644 index 2550937f..00000000 --- a/docs/html/annotated 3.html +++ /dev/null @@ -1,477 +0,0 @@ - - -
- - - - -- |
- AlgoPlus v0.1.0
-
- |
-
►NCatch | |
►Ndetail | Detail namespace with internal helper functions |
►Nmatplotlibcpp | |
►Nstd | |
Cadl_serializer | Namespace for Niels Lohmann |
►Cavl_tree | Class for AVL tree |
Cbasic_json | Namespace for Niels Lohmann |
Cbest_first | Best first class |
►Cbst | Class for BST tree |
Cbyte_container_with_subtype | Internal type for a backed binary type |
CCatch_global_namespace_dummy | |
►Ccircular_linked_list | Circular linked list class |
CDBSCAN | DBSCAN clustering algorithm class |
►Cdequeue_list | Dequeue list class |
►Cdoubly_linked_list | Doubly linked list class |
Cdsu | Disjoint set class |
►Cfrequency_list | Self-learning Frequency List that maintains a list of elements in descending order of their frequency |
Cgraph | Class for Unweighted Graph |
►Chash_table | A simple implementation of a hash table |
Chill_climbing | Hill climbing class |
Chuffman | |
►Cinterval_tree | Interval tree class |
Cjson_pointer | JSON Pointer defines a string syntax for identifying a specific value within a JSON document |
Cjson_sax | SAX interface |
Ckmeans | |
Clinear_regression | Class for linear regression algorithm |
►Clinked_list | Single linked list class |
►CMat1d | Class for 1-dimensional Matrix |
►CMat2d | Class for 2-dimensional Matrix |
Cmin_heap | Min heap class |
Cordered_map | Minimal map-like container that preserves insertion order |
►Cskip_list | Skip_list class |
►Csplay_tree | Splay tree class |
►Cstack_list | Stack_list class |
Ctrie | Trie class |
Cweighted_graph | Class for weighted graph |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | AssertionHandler (StringRef const ¯oName, SourceLineInfo const &lineInfo, StringRef capturedExpression, ResultDisposition::Flags resultDisposition) |
-template<typename T > | |
void | handleExpr (ExprLhs< T > const &expr) |
-void | handleExpr (ITransientExpression const &expr) |
-void | handleMessage (ResultWas::OfType resultType, StringRef const &message) |
-void | handleExceptionThrownAsExpected () |
-void | handleUnexpectedExceptionNotThrown () |
-void | handleExceptionNotThrownAsExpected () |
-void | handleThrowingCallSkipped () |
-void | handleUnexpectedInflightException () |
-void | complete () |
-void | setCompleted () |
-auto | allowThrows () const -> bool |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::AssertionHandler, including all inherited members.
-allowThrows() const -> bool (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
AssertionHandler(StringRef const ¯oName, SourceLineInfo const &lineInfo, StringRef capturedExpression, ResultDisposition::Flags resultDisposition) (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
complete() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
handleExceptionNotThrownAsExpected() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
handleExceptionThrownAsExpected() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
handleExpr(ExprLhs< T > const &expr) (defined in Catch::AssertionHandler) | Catch::AssertionHandler | inline |
handleExpr(ITransientExpression const &expr) (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
handleMessage(ResultWas::OfType resultType, StringRef const &message) (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
handleThrowingCallSkipped() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
handleUnexpectedExceptionNotThrown() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
handleUnexpectedInflightException() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
setCompleted() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | |
~AssertionHandler() (defined in Catch::AssertionHandler) | Catch::AssertionHandler | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | BinaryExpr (bool comparisonResult, LhsT lhs, StringRef op, RhsT rhs) |
-template<typename T > | |
auto | operator&& (T) const -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename T > | |
auto | operator|| (T) const -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename T > | |
auto | operator== (T) const -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename T > | |
auto | operator!= (T) const -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename T > | |
auto | operator> (T) const -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename T > | |
auto | operator< (T) const -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename T > | |
auto | operator>= (T) const -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename T > | |
auto | operator<= (T) const -> BinaryExpr< LhsT, RhsT const & > const |
Public Member Functions inherited from Catch::ITransientExpression | |
-auto | isBinaryExpression () const -> bool |
-auto | getResult () const -> bool |
- | ITransientExpression (bool isBinaryExpression, bool result) |
-Additional Inherited Members | |
Public Attributes inherited from Catch::ITransientExpression | |
-bool | m_isBinaryExpression |
-bool | m_result |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::BinaryExpr< LhsT, RhsT >, including all inherited members.
-BinaryExpr(bool comparisonResult, LhsT lhs, StringRef op, RhsT rhs) (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
getResult() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
isBinaryExpression() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
ITransientExpression(bool isBinaryExpression, bool result) (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
m_isBinaryExpression (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
m_result (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
operator!=(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
operator&&(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
operator<(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
operator<=(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
operator==(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
operator>(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
operator>=(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
operator||(T) const -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::BinaryExpr< LhsT, RhsT >) | Catch::BinaryExpr< LhsT, RhsT > | inline |
~ITransientExpression() (defined in Catch::ITransientExpression) | Catch::ITransientExpression | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | Capturer (StringRef macroName, SourceLineInfo const &lineInfo, ResultWas::OfType resultType, StringRef names) |
-void | captureValue (size_t index, std::string const &value) |
-template<typename T > | |
void | captureValues (size_t index, T const &value) |
-template<typename T , typename... Ts> | |
void | captureValues (size_t index, T const &value, Ts const &... values) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Capturer, including all inherited members.
-Capturer(StringRef macroName, SourceLineInfo const &lineInfo, ResultWas::OfType resultType, StringRef names) (defined in Catch::Capturer) | Catch::Capturer | |
captureValue(size_t index, std::string const &value) (defined in Catch::Capturer) | Catch::Capturer | |
captureValues(size_t index, T const &value) (defined in Catch::Capturer) | Catch::Capturer | inline |
captureValues(size_t index, T const &value, Ts const &... values) (defined in Catch::Capturer) | Catch::Capturer | inline |
~Capturer() (defined in Catch::Capturer) | Catch::Capturer |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | Approx (double value) |
-Approx | operator- () const |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
Approx | operator() (T const &value) const |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
Approx (T const &value) | |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
Approx & | epsilon (T const &newEpsilon) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
Approx & | margin (T const &newMargin) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
Approx & | scale (T const &newScale) |
-std::string | toString () const |
-Static Public Member Functions | |
-static Approx | custom () |
-Friends | |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator== (const T &lhs, Approx const &rhs) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator== (Approx const &lhs, const T &rhs) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator!= (T const &lhs, Approx const &rhs) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator!= (Approx const &lhs, T const &rhs) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator<= (T const &lhs, Approx const &rhs) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator<= (Approx const &lhs, T const &rhs) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator>= (T const &lhs, Approx const &rhs) |
-template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
bool | operator>= (Approx const &lhs, T const &rhs) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Detail::Approx, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const bool | value = decltype(test<std::ostream, const T&>(0))::value |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Detail::IsStreamInsertable< T >, including all inherited members.
-value (defined in Catch::Detail::IsStreamInsertable< T >) | Catch::Detail::IsStreamInsertable< T > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename T > | |
ExceptionTranslatorRegistrar (std::string(*translateFunction)(T &)) | |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ExceptionTranslatorRegistrar, including all inherited members.
-ExceptionTranslatorRegistrar(std::string(*translateFunction)(T &)) (defined in Catch::ExceptionTranslatorRegistrar) | Catch::ExceptionTranslatorRegistrar | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | ExprLhs (LhsT lhs) |
-template<typename RhsT > | |
auto | operator== (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-auto | operator== (bool rhs) -> BinaryExpr< LhsT, bool > const |
-template<typename RhsT > | |
auto | operator!= (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-auto | operator!= (bool rhs) -> BinaryExpr< LhsT, bool > const |
-template<typename RhsT > | |
auto | operator> (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator< (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator>= (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator<= (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator| (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator& (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator^ (RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator&& (RhsT const &) -> BinaryExpr< LhsT, RhsT const & > const |
-template<typename RhsT > | |
auto | operator|| (RhsT const &) -> BinaryExpr< LhsT, RhsT const & > const |
-auto | makeUnaryExpr () const -> UnaryExpr< LhsT > |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ExprLhs< LhsT >, including all inherited members.
-ExprLhs(LhsT lhs) (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inlineexplicit |
makeUnaryExpr() const -> UnaryExpr< LhsT > (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator!=(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator!=(bool rhs) -> BinaryExpr< LhsT, bool > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator&(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator&&(RhsT const &) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator<(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator<=(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator==(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator==(bool rhs) -> BinaryExpr< LhsT, bool > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator>(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator>=(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator^(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator|(RhsT const &rhs) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
operator||(RhsT const &) -> BinaryExpr< LhsT, RhsT const & > const (defined in Catch::ExprLhs< LhsT >) | Catch::ExprLhs< LhsT > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | GeneratorException (const char *msg) |
-const char * | what () const noexcept override final |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::ChunkGenerator< T >, including all inherited members.
-ChunkGenerator(size_t size, GeneratorWrapper< T > generator) (defined in Catch::Generators::ChunkGenerator< T >) | Catch::Generators::ChunkGenerator< T > | inline |
GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::ChunkGenerator< T >) | Catch::Generators::ChunkGenerator< T > | inlinevirtual |
next() override (defined in Catch::Generators::ChunkGenerator< T >) | Catch::Generators::ChunkGenerator< T > | inlinevirtual |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename P = Predicate> | |
FilterGenerator (P &&pred, GeneratorWrapper< T > &&generator) | |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::FilterGenerator< T, Predicate >, including all inherited members.
-FilterGenerator(P &&pred, GeneratorWrapper< T > &&generator) (defined in Catch::Generators::FilterGenerator< T, Predicate >) | Catch::Generators::FilterGenerator< T, Predicate > | inline |
GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::FilterGenerator< T, Predicate >) | Catch::Generators::FilterGenerator< T, Predicate > | inlinevirtual |
next() override (defined in Catch::Generators::FilterGenerator< T, Predicate >) | Catch::Generators::FilterGenerator< T, Predicate > | inlinevirtual |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | FixedValuesGenerator (std::initializer_list< T > values) |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::FixedValuesGenerator< T >, including all inherited members.
-FixedValuesGenerator(std::initializer_list< T > values) (defined in Catch::Generators::FixedValuesGenerator< T >) | Catch::Generators::FixedValuesGenerator< T > | inline |
GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::FixedValuesGenerator< T >) | Catch::Generators::FixedValuesGenerator< T > | inlinevirtual |
next() override (defined in Catch::Generators::FixedValuesGenerator< T >) | Catch::Generators::FixedValuesGenerator< T > | inlinevirtual |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual bool | next ()=0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::GeneratorUntypedBase, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
next()=0 (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | pure virtual |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | GeneratorWrapper (std::unique_ptr< IGenerator< T > > generator) |
-T const & | get () const |
-bool | next () |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::GeneratorWrapper< T >, including all inherited members.
-GeneratorWrapper(std::unique_ptr< IGenerator< T > > generator) (defined in Catch::Generators::GeneratorWrapper< T >) | Catch::Generators::GeneratorWrapper< T > | inline |
get() const (defined in Catch::Generators::GeneratorWrapper< T >) | Catch::Generators::GeneratorWrapper< T > | inline |
next() (defined in Catch::Generators::GeneratorWrapper< T >) | Catch::Generators::GeneratorWrapper< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename... Gs> | |
Generators (Gs &&... moreGenerators) | |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::Generators< T >, including all inherited members.
-Generators(Gs &&... moreGenerators) (defined in Catch::Generators::Generators< T >) | Catch::Generators::Generators< T > | inline |
GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::Generators< T >) | Catch::Generators::Generators< T > | inlinevirtual |
next() override (defined in Catch::Generators::Generators< T >) | Catch::Generators::Generators< T > | inlinevirtual |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename InputIterator , typename InputSentinel > | |
IteratorGenerator (InputIterator first, InputSentinel last) | |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::IteratorGenerator< T >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::IteratorGenerator< T >) | Catch::Generators::IteratorGenerator< T > | inlinevirtual |
IteratorGenerator(InputIterator first, InputSentinel last) (defined in Catch::Generators::IteratorGenerator< T >) | Catch::Generators::IteratorGenerator< T > | inline |
next() override (defined in Catch::Generators::IteratorGenerator< T >) | Catch::Generators::IteratorGenerator< T > | inlinevirtual |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename F2 = Func> | |
MapGenerator (F2 &&function, GeneratorWrapper< U > &&generator) | |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::MapGenerator< T, U, Func >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::MapGenerator< T, U, Func >) | Catch::Generators::MapGenerator< T, U, Func > | inlinevirtual |
MapGenerator(F2 &&function, GeneratorWrapper< U > &&generator) (defined in Catch::Generators::MapGenerator< T, U, Func >) | Catch::Generators::MapGenerator< T, U, Func > | inline |
next() override (defined in Catch::Generators::MapGenerator< T, U, Func >) | Catch::Generators::MapGenerator< T, U, Func > | inlinevirtual |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | RandomFloatingGenerator (Float a, Float b) |
Float const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< Float > | |
-using | type |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< Float >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::RandomFloatingGenerator< Float >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::RandomFloatingGenerator< Float >) | Catch::Generators::RandomFloatingGenerator< Float > | inlinevirtual |
next() override (defined in Catch::Generators::RandomFloatingGenerator< Float >) | Catch::Generators::RandomFloatingGenerator< Float > | inlinevirtual |
RandomFloatingGenerator(Float a, Float b) (defined in Catch::Generators::RandomFloatingGenerator< Float >) | Catch::Generators::RandomFloatingGenerator< Float > | inline |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | RandomIntegerGenerator (Integer a, Integer b) |
Integer const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< Integer > | |
-using | type |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< Integer >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::RandomIntegerGenerator< Integer >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::RandomIntegerGenerator< Integer >) | Catch::Generators::RandomIntegerGenerator< Integer > | inlinevirtual |
next() override (defined in Catch::Generators::RandomIntegerGenerator< Integer >) | Catch::Generators::RandomIntegerGenerator< Integer > | inlinevirtual |
RandomIntegerGenerator(Integer a, Integer b) (defined in Catch::Generators::RandomIntegerGenerator< Integer >) | Catch::Generators::RandomIntegerGenerator< Integer > | inline |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | RangeGenerator (T const &start, T const &end, T const &step) |
- | RangeGenerator (T const &start, T const &end) |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::RangeGenerator< T >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | RepeatGenerator (size_t repeats, GeneratorWrapper< T > &&generator) |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::RepeatGenerator< T >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::RepeatGenerator< T >) | Catch::Generators::RepeatGenerator< T > | inlinevirtual |
next() override (defined in Catch::Generators::RepeatGenerator< T >) | Catch::Generators::RepeatGenerator< T > | inlinevirtual |
RepeatGenerator(size_t repeats, GeneratorWrapper< T > &&generator) (defined in Catch::Generators::RepeatGenerator< T >) | Catch::Generators::RepeatGenerator< T > | inline |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | SingleValueGenerator (T &&value) |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::SingleValueGenerator< T >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::SingleValueGenerator< T >) | Catch::Generators::SingleValueGenerator< T > | inlinevirtual |
next() override (defined in Catch::Generators::SingleValueGenerator< T >) | Catch::Generators::SingleValueGenerator< T > | inlinevirtual |
SingleValueGenerator(T &&value) (defined in Catch::Generators::SingleValueGenerator< T >) | Catch::Generators::SingleValueGenerator< T > | inline |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | TakeGenerator (size_t target, GeneratorWrapper< T > &&generator) |
T const & | get () const override |
bool | next () override |
-Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
-using | type = T |
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::IGenerator< T >.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Generators::GeneratorUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::TakeGenerator< T >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const override (defined in Catch::Generators::TakeGenerator< T >) | Catch::Generators::TakeGenerator< T > | inlinevirtual |
next() override (defined in Catch::Generators::TakeGenerator< T >) | Catch::Generators::TakeGenerator< T > | inlinevirtual |
TakeGenerator(size_t target, GeneratorWrapper< T > &&generator) (defined in Catch::Generators::TakeGenerator< T >) | Catch::Generators::TakeGenerator< T > | inline |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | LazyExpression (bool isNegated) |
- | LazyExpression (LazyExpression const &other) |
-LazyExpression & | operator= (LazyExpression const &)=delete |
- | operator bool () const |
-Friends | |
-class | AssertionHandler |
-struct | AssertionStats |
-class | RunContext |
-auto | operator<< (std::ostream &os, LazyExpression const &lazyExpr) -> std::ostream & |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::LazyExpression, including all inherited members.
-AssertionHandler (defined in Catch::LazyExpression) | Catch::LazyExpression | friend |
AssertionStats (defined in Catch::LazyExpression) | Catch::LazyExpression | friend |
LazyExpression(bool isNegated) (defined in Catch::LazyExpression) | Catch::LazyExpression | |
LazyExpression(LazyExpression const &other) (defined in Catch::LazyExpression) | Catch::LazyExpression | |
operator bool() const (defined in Catch::LazyExpression) | Catch::LazyExpression | explicit |
operator<< (defined in Catch::LazyExpression) | Catch::LazyExpression | friend |
operator=(LazyExpression const &)=delete (defined in Catch::LazyExpression) | Catch::LazyExpression | |
RunContext (defined in Catch::LazyExpression) | Catch::LazyExpression | friend |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | MatchExpr (ArgT const &arg, MatcherT const &matcher, StringRef const &matcherString) |
void | streamReconstructedExpression (std::ostream &os) const override |
Public Member Functions inherited from Catch::ITransientExpression | |
-auto | isBinaryExpression () const -> bool |
-auto | getResult () const -> bool |
- | ITransientExpression (bool isBinaryExpression, bool result) |
-Additional Inherited Members | |
Public Attributes inherited from Catch::ITransientExpression | |
-bool | m_isBinaryExpression |
-bool | m_result |
-
|
- -inlineoverridevirtual | -
Implements Catch::ITransientExpression.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::MatchExpr< ArgT, MatcherT >, including all inherited members.
-getResult() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
isBinaryExpression() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
ITransientExpression(bool isBinaryExpression, bool result) (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
m_isBinaryExpression (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
m_result (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
MatchExpr(ArgT const &arg, MatcherT const &matcher, StringRef const &matcherString) (defined in Catch::MatchExpr< ArgT, MatcherT >) | Catch::MatchExpr< ArgT, MatcherT > | inline |
streamReconstructedExpression(std::ostream &os) const override (defined in Catch::MatchExpr< ArgT, MatcherT >) | Catch::MatchExpr< ArgT, MatcherT > | inlinevirtual |
~ITransientExpression() (defined in Catch::ITransientExpression) | Catch::ITransientExpression | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | ExceptionMessageMatcher (std::string const &message) |
-bool | match (std::exception const &ex) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -overridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Exception::ExceptionMessageMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | PredicateMatcher (std::function< bool(T const &)> const &elem, std::string const &descr) |
bool | match (T const &item) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherMethod< T >.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Generic::PredicateMatcher< T >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
-Protected Member Functions | |
-virtual std::string | describe () const =0 |
-Protected Attributes | |
-std::string | m_cachedToString |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Impl::MatcherUntypedBase, including all inherited members.
-describe() const =0 (defined in Catch::Matchers::Impl::MatcherUntypedBase) | Catch::Matchers::Impl::MatcherUntypedBase | protectedpure virtual |
m_cachedToString (defined in Catch::Matchers::Impl::MatcherUntypedBase) | Catch::Matchers::Impl::MatcherUntypedBase | mutableprotected |
MatcherUntypedBase()=default (defined in Catch::Matchers::Impl::MatcherUntypedBase) | Catch::Matchers::Impl::MatcherUntypedBase | |
MatcherUntypedBase(MatcherUntypedBase const &)=default (defined in Catch::Matchers::Impl::MatcherUntypedBase) | Catch::Matchers::Impl::MatcherUntypedBase | |
operator=(MatcherUntypedBase const &)=delete (defined in Catch::Matchers::Impl::MatcherUntypedBase) | Catch::Matchers::Impl::MatcherUntypedBase | |
toString() const (defined in Catch::Matchers::Impl::MatcherUntypedBase) | Catch::Matchers::Impl::MatcherUntypedBase | |
~MatcherUntypedBase() (defined in Catch::Matchers::Impl::MatcherUntypedBase) | Catch::Matchers::Impl::MatcherUntypedBase | protectedvirtual |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::NonCopyable, including all inherited members.
-NonCopyable() (defined in Catch::NonCopyable) | Catch::NonCopyable | protected |
~NonCopyable() (defined in Catch::NonCopyable) | Catch::NonCopyable | protectedvirtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | Option (T const &_value) |
- | Option (Option const &_other) |
-Option & | operator= (Option const &_other) |
-Option & | operator= (T const &_value) |
-void | reset () |
-T & | operator* () |
-T const & | operator* () const |
-T * | operator-> () |
-const T * | operator-> () const |
-T | valueOr (T const &defaultValue) const |
-bool | some () const |
-bool | none () const |
-bool | operator! () const |
- | operator bool () const |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Option< T >, including all inherited members.
-none() const (defined in Catch::Option< T >) | Catch::Option< T > | inline |
operator bool() const (defined in Catch::Option< T >) | Catch::Option< T > | inlineexplicit |
operator!() const (defined in Catch::Option< T >) | Catch::Option< T > | inline |
operator*() (defined in Catch::Option< T >) | Catch::Option< T > | inline |
operator*() const (defined in Catch::Option< T >) | Catch::Option< T > | inline |
operator->() (defined in Catch::Option< T >) | Catch::Option< T > | inline |
operator->() const (defined in Catch::Option< T >) | Catch::Option< T > | inline |
operator=(Option const &_other) (defined in Catch::Option< T >) | Catch::Option< T > | inline |
operator=(T const &_value) (defined in Catch::Option< T >) | Catch::Option< T > | inline |
Option() (defined in Catch::Option< T >) | Catch::Option< T > | inline |
Option(T const &_value) (defined in Catch::Option< T >) | Catch::Option< T > | inline |
Option(Option const &_other) (defined in Catch::Option< T >) | Catch::Option< T > | inline |
reset() (defined in Catch::Option< T >) | Catch::Option< T > | inline |
some() const (defined in Catch::Option< T >) | Catch::Option< T > | inline |
valueOr(T const &defaultValue) const (defined in Catch::Option< T >) | Catch::Option< T > | inline |
~Option() (defined in Catch::Option< T >) | Catch::Option< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-auto | str () const -> std::string |
-template<typename T > | |
auto | operator<< (T const &value) -> ReusableStringStream & |
-auto | get () -> std::ostream & |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ReusableStringStream, including all inherited members.
-get() -> std::ostream & (defined in Catch::ReusableStringStream) | Catch::ReusableStringStream | inline |
operator<<(T const &value) -> ReusableStringStream & (defined in Catch::ReusableStringStream) | Catch::ReusableStringStream | inline |
ReusableStringStream() (defined in Catch::ReusableStringStream) | Catch::ReusableStringStream | |
str() const -> std::string (defined in Catch::ReusableStringStream) | Catch::ReusableStringStream | |
~ReusableStringStream() (defined in Catch::ReusableStringStream) | Catch::ReusableStringStream |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | ScopedMessage (MessageBuilder const &builder) |
- | ScopedMessage (ScopedMessage &duplicate)=delete |
- | ScopedMessage (ScopedMessage &&old) |
-Public Attributes | |
-MessageInfo | m_info |
-bool | m_moved |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ScopedMessage, including all inherited members.
-m_info (defined in Catch::ScopedMessage) | Catch::ScopedMessage | |
m_moved (defined in Catch::ScopedMessage) | Catch::ScopedMessage | |
ScopedMessage(MessageBuilder const &builder) (defined in Catch::ScopedMessage) | Catch::ScopedMessage | explicit |
ScopedMessage(ScopedMessage &duplicate)=delete (defined in Catch::ScopedMessage) | Catch::ScopedMessage | |
ScopedMessage(ScopedMessage &&old) (defined in Catch::ScopedMessage) | Catch::ScopedMessage | |
~ScopedMessage() (defined in Catch::ScopedMessage) | Catch::ScopedMessage |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | Section (SectionInfo const &info) |
- | operator bool () const |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Section, including all inherited members.
-operator bool() const (defined in Catch::Section) | Catch::Section | explicit |
Section(SectionInfo const &info) (defined in Catch::Section) | Catch::Section | |
~Section() (defined in Catch::Section) | Catch::Section |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | result_type = std::uint32_t |
-Public Member Functions | |
- | SimplePcg32 (result_type seed_) |
-void | seed (result_type seed_) |
-void | discard (uint64_t skip) |
-result_type | operator() () |
-Static Public Member Functions | |
-static constexpr result_type | min () |
-static constexpr result_type | max () |
-Friends | |
-bool | operator== (SimplePcg32 const &lhs, SimplePcg32 const &rhs) |
-bool | operator!= (SimplePcg32 const &lhs, SimplePcg32 const &rhs) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::SimplePcg32, including all inherited members.
-discard(uint64_t skip) (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | |
max() (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | inlinestatic |
min() (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | inlinestatic |
operator!= (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | friend |
operator()() (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | |
operator== (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | friend |
result_type typedef (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | |
seed(result_type seed_) (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | |
SimplePcg32() (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | inline |
SimplePcg32(result_type seed_) (defined in Catch::SimplePcg32) | Catch::SimplePcg32 | explicit |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <catch.hpp>
-Public Types | |
-using | size_type = std::size_t |
-using | const_iterator = const char* |
-Public Member Functions | |
- | StringRef (char const *rawChars) noexcept |
-constexpr | StringRef (char const *rawChars, size_type size) noexcept |
- | StringRef (std::string const &stdString) noexcept |
- | operator std::string () const |
-auto | operator== (StringRef const &other) const noexcept -> bool |
-auto | operator!= (StringRef const &other) const noexcept -> bool |
-auto | operator[] (size_type index) const noexcept -> char |
-constexpr auto | empty () const noexcept -> bool |
-constexpr auto | size () const noexcept -> size_type |
-auto | c_str () const -> char const * |
-auto | substr (size_type start, size_type length) const noexcept -> StringRef |
-auto | data () const noexcept -> char const * |
-constexpr auto | isNullTerminated () const noexcept -> bool |
-constexpr const_iterator | begin () const |
-constexpr const_iterator | end () const |
A non-owning string class (similar to the forthcoming std::string_view) Note that, because a StringRef may be a substring of another string, it may not be null terminated.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringRef, including all inherited members.
-begin() const (defined in Catch::StringRef) | Catch::StringRef | inline |
c_str() const -> char const * (defined in Catch::StringRef) | Catch::StringRef | |
const_iterator typedef (defined in Catch::StringRef) | Catch::StringRef | |
data() const noexcept -> char const * (defined in Catch::StringRef) | Catch::StringRef | |
empty() const noexcept -> bool (defined in Catch::StringRef) | Catch::StringRef | inline |
end() const (defined in Catch::StringRef) | Catch::StringRef | inline |
isNullTerminated() const noexcept -> bool (defined in Catch::StringRef) | Catch::StringRef | inline |
operator std::string() const (defined in Catch::StringRef) | Catch::StringRef | inlineexplicit |
operator!=(StringRef const &other) const noexcept -> bool (defined in Catch::StringRef) | Catch::StringRef | inline |
operator==(StringRef const &other) const noexcept -> bool (defined in Catch::StringRef) | Catch::StringRef | |
operator[](size_type index) const noexcept -> char (defined in Catch::StringRef) | Catch::StringRef | inline |
size() const noexcept -> size_type (defined in Catch::StringRef) | Catch::StringRef | inline |
size_type typedef (defined in Catch::StringRef) | Catch::StringRef | |
StringRef() noexcept=default (defined in Catch::StringRef) | Catch::StringRef | |
StringRef(char const *rawChars) noexcept (defined in Catch::StringRef) | Catch::StringRef | |
StringRef(char const *rawChars, size_type size) noexcept (defined in Catch::StringRef) | Catch::StringRef | inline |
StringRef(std::string const &stdString) noexcept (defined in Catch::StringRef) | Catch::StringRef | inline |
substr(size_type start, size_type length) const noexcept -> StringRef (defined in Catch::StringRef) | Catch::StringRef |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | TestCase (ITestInvoker *testCase, TestCaseInfo &&info) |
-TestCase | withName (std::string const &_newName) const |
-void | invoke () const |
-TestCaseInfo const & | getTestCaseInfo () const |
-bool | operator== (TestCase const &other) const |
-bool | operator< (TestCase const &other) const |
Public Member Functions inherited from Catch::TestCaseInfo | |
- | TestCaseInfo (std::string const &_name, std::string const &_className, std::string const &_description, std::vector< std::string > const &_tags, SourceLineInfo const &_lineInfo) |
-bool | isHidden () const |
-bool | throws () const |
-bool | okToFail () const |
-bool | expectedToFail () const |
-std::string | tagsAsString () const |
-Additional Inherited Members | |
Public Types inherited from Catch::TestCaseInfo | |
enum | SpecialProperties { - None = 0 -, IsHidden = 1 << 1 -, ShouldFail = 1 << 2 -, MayFail = 1 << 3 -, - Throws = 1 << 4 -, NonPortable = 1 << 5 -, Benchmark = 1 << 6 - - } |
Public Attributes inherited from Catch::TestCaseInfo | |
-std::string | name |
-std::string | className |
-std::string | description |
-std::vector< std::string > | tags |
-std::vector< std::string > | lcaseTags |
-SourceLineInfo | lineInfo |
-SpecialProperties | properties |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::TestCase, including all inherited members.
-Benchmark enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
className (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
description (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
expectedToFail() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
getTestCaseInfo() const (defined in Catch::TestCase) | Catch::TestCase | |
invoke() const (defined in Catch::TestCase) | Catch::TestCase | |
IsHidden enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
isHidden() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
lcaseTags (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
lineInfo (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
MayFail enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
name (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
None enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
NonPortable enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
okToFail() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
operator<(TestCase const &other) const (defined in Catch::TestCase) | Catch::TestCase | |
operator==(TestCase const &other) const (defined in Catch::TestCase) | Catch::TestCase | |
properties (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
ShouldFail enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
SpecialProperties enum name (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
tags (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
tagsAsString() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
TestCase(ITestInvoker *testCase, TestCaseInfo &&info) (defined in Catch::TestCase) | Catch::TestCase | |
TestCaseInfo(std::string const &_name, std::string const &_className, std::string const &_description, std::vector< std::string > const &_tags, SourceLineInfo const &_lineInfo) (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
Throws enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
throws() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
withName(std::string const &_newName) const (defined in Catch::TestCase) | Catch::TestCase |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::TestInvokerAsMethod< C >, including all inherited members.
-invoke() const override (defined in Catch::TestInvokerAsMethod< C >) | Catch::TestInvokerAsMethod< C > | inlinevirtual |
TestInvokerAsMethod(void(C::*testAsMethod)()) noexcept (defined in Catch::TestInvokerAsMethod< C >) | Catch::TestInvokerAsMethod< C > | inline |
~ITestInvoker() (defined in Catch::ITestInvoker) | Catch::ITestInvoker | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Timer, including all inherited members.
-getElapsedMicroseconds() const -> uint64_t (defined in Catch::Timer) | Catch::Timer | |
getElapsedMilliseconds() const -> unsigned int (defined in Catch::Timer) | Catch::Timer | |
getElapsedNanoseconds() const -> uint64_t (defined in Catch::Timer) | Catch::Timer | |
getElapsedSeconds() const -> double (defined in Catch::Timer) | Catch::Timer | |
start() (defined in Catch::Timer) | Catch::Timer |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | UnaryExpr (LhsT lhs) |
Public Member Functions inherited from Catch::ITransientExpression | |
-auto | isBinaryExpression () const -> bool |
-auto | getResult () const -> bool |
- | ITransientExpression (bool isBinaryExpression, bool result) |
-Additional Inherited Members | |
Public Attributes inherited from Catch::ITransientExpression | |
-bool | m_isBinaryExpression |
-bool | m_result |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::UnaryExpr< LhsT >, including all inherited members.
-getResult() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
isBinaryExpression() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
ITransientExpression(bool isBinaryExpression, bool result) (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
m_isBinaryExpression (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
m_result (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
UnaryExpr(LhsT lhs) (defined in Catch::UnaryExpr< LhsT >) | Catch::UnaryExpr< LhsT > | inlineexplicit |
~ITransientExpression() (defined in Catch::ITransientExpression) | Catch::ITransientExpression | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for DBSCAN, including all inherited members.
-DBSCAN(std::vector< std::pair< double, double > > setOfPoints, double Eps, int64_t MinPts) noexcept | DBSCAN | inlineexplicit |
dist(std::pair< double, double > a, std::pair< double, double > b) | DBSCAN | |
ExpandCluster(std::vector< std::pair< double, double > > setOfPoints, std::pair< double, double > point, int64_t cluster_id, double Eps, int64_t MinPts) | DBSCAN | |
get_clusters() | DBSCAN | |
get_noise() | DBSCAN | |
get_query(std::vector< std::pair< double, double > > setOfPoints, std::pair< double, double > point, double Eps) | DBSCAN | |
nextId(int64_t cluster_id) | DBSCAN |
- |
- AlgoPlus v0.1.0
-
- |
-
Class for 1-dimensional Matrix. - More...
- -#include <mat_1d.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
- | Mat1d (std::vector< T > v={}) |
constructor for Mat1d class | |
Mat1d (const T val) noexcept | |
constructor for Mat1d class with input value | |
Mat1d (Mat1d &mat) | |
copy constructor for Mat1d class | |
Mat1d & | operator= (Mat1d &mat) |
copy constructor for Mat1d class | |
- | ~Mat1d () |
destructor of Mat1d class | |
size_t | size () |
size function | |
-Iterator | begin () |
Iterator begin for Mat1d class. | |
-Iterator | end () |
Iterator end for Mat1d class. | |
T & | operator[] (const size_t index) |
operator[] for Mat1d class | |
bool | operator== (Mat1d &mat) const |
operator == for Mat1d class | |
-Friends | |
std::ostream & | operator<< (std::ostream &out, Mat1d &mat) |
operator << for Mat1d class | |
Class for 1-dimensional Matrix.
-
-
|
- -inlineexplicitnoexcept | -
constructor for Mat1d class with input value
-val | the value that we want all the elements of the array to have |
-
|
- -inline | -
operator == for Mat1d class
-mat | the matrix to compare |
-
|
- -inline | -
operator[] for Mat1d class
-
-
|
- -inline | -
size function
-
-
|
- -friend | -
operator << for Mat1d class
-mat | the matrix |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Mat1d< T, SIZE >, including all inherited members.
-begin() | Mat1d< T, SIZE > | inline |
end() | Mat1d< T, SIZE > | inline |
Mat1d(std::vector< T > v={}) | Mat1d< T, SIZE > | inlineexplicit |
Mat1d(const T val) noexcept | Mat1d< T, SIZE > | inlineexplicit |
Mat1d(Mat1d &mat) | Mat1d< T, SIZE > | inlineexplicit |
operator<< | Mat1d< T, SIZE > | friend |
operator=(Mat1d &mat) | Mat1d< T, SIZE > | inline |
operator==(Mat1d &mat) const | Mat1d< T, SIZE > | inline |
operator[](const size_t index) | Mat1d< T, SIZE > | inline |
size() | Mat1d< T, SIZE > | inline |
~Mat1d() | Mat1d< T, SIZE > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <mat_1d.h>
-Public Member Functions | |
Iterator (size_t __index, size_t __size, T *__arr) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (T *curr) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
Iterator & | operator-- () |
operator ++ for type Iterator | |
Iterator | operator-- (int) |
operator – for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-__size | size of the array |
mat | the matrix we have |
-
|
- -inline | -
operator * for type Iterator
-- |
- AlgoPlus v0.1.0
-
- |
-
Class for 2-dimensional Matrix. - More...
- -#include <mat_2d.h>
-Classes | |
class | Iterator |
Iterator for Mat2d class. More... | |
-Public Member Functions | |
- | Mat2d (std::vector< std::vector< T > > v={}) |
constructor for Mat2d class | |
Mat2d (const T val) noexcept | |
constructor for Mat2d class with initializer value | |
Mat2d (const Mat2d &mat) | |
copy constructor for Mat2d class | |
Mat2d & | operator= (Mat2d &mat) |
operator = for Mat2d class | |
T & | operator() (size_t i, size_t j) |
operator (i, j) for Mat2d class | |
Mat1d< T, COLS > & | operator() (size_t i) |
operator () for Mat2d class | |
size_t | size () |
size function | |
size_t | cols () |
cols function | |
size_t | rows () |
rows function | |
Iterator | begin () |
begin() Iterator for Mat2d class | |
Iterator | end () |
end() Iterator for Mat2d class | |
-Friends | |
-std::ostream & | operator<< (std::ostream &out, Mat2d &mat) |
operator << for Mat2d class | |
Class for 2-dimensional Matrix.
-
-
|
- -inlineexplicitnoexcept | -
constructor for Mat2d class with initializer value
-val | the value that we want all the index of the array to have |
-
|
- -inlineexplicit | -
copy constructor for Mat2d class
-mat | the 2d matrix we want to copy |
-
|
- -inline | -
cols function
-
-
|
- -inline | -
operator () for Mat2d class
-i | index that's pointing to the row |
-
|
- -inline | -
operator (i, j) for Mat2d class
-i | index that's pointing to the row |
j | index that's pointing to the column |
-
|
- -inline | -
rows function
-
-
|
- -inline | -
size function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Mat2d< T, ROWS, COLS >, including all inherited members.
-begin() | Mat2d< T, ROWS, COLS > | inline |
cols() | Mat2d< T, ROWS, COLS > | inline |
end() | Mat2d< T, ROWS, COLS > | inline |
Mat2d(std::vector< std::vector< T > > v={}) | Mat2d< T, ROWS, COLS > | inlineexplicit |
Mat2d(const T val) noexcept | Mat2d< T, ROWS, COLS > | inlineexplicit |
Mat2d(const Mat2d &mat) | Mat2d< T, ROWS, COLS > | inlineexplicit |
operator()(size_t i, size_t j) | Mat2d< T, ROWS, COLS > | inline |
operator()(size_t i) | Mat2d< T, ROWS, COLS > | inline |
operator<< | Mat2d< T, ROWS, COLS > | friend |
operator=(Mat2d &mat) | Mat2d< T, ROWS, COLS > | inline |
rows() | Mat2d< T, ROWS, COLS > | inline |
size() | Mat2d< T, ROWS, COLS > | inline |
~Mat2d() (defined in Mat2d< T, ROWS, COLS >) | Mat2d< T, ROWS, COLS > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
Iterator for Mat2d class. - More...
- -#include <mat_2d.h>
-Public Member Functions | |
Iterator (T *__arr, size_t rows, size_t cols, size_t index) noexcept | |
constructor for Iterator class | |
Iterator & | operator= (T *curr) |
operator = for Iterator class | |
Iterator & | operator++ () |
operator ++ for Iterator class | |
Iterator & | operator++ (int) |
Iterator & | operator-- () |
operator – for Iterator class | |
Iterator & | operator-- (int) |
operator – for Iterator class | |
bool | operator!= (const Iterator &it) |
operator != for Iterator class | |
Mat1d< T, COLS > | operator* () |
operator * for Iterator class | |
-
|
- -inlineexplicitnoexcept | -
-
|
- -inline | -
operator != for Iterator class
-
-
|
- -inline | -
operator * for Iterator class
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Mat2d< T, ROWS, COLS >::Iterator, including all inherited members.
-Iterator(T *__arr, size_t rows, size_t cols, size_t index) noexcept | Mat2d< T, ROWS, COLS >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | Mat2d< T, ROWS, COLS >::Iterator | inline |
operator*() | Mat2d< T, ROWS, COLS >::Iterator | inline |
operator++() | Mat2d< T, ROWS, COLS >::Iterator | inline |
operator++(int) | Mat2d< T, ROWS, COLS >::Iterator | inline |
operator--() | Mat2d< T, ROWS, COLS >::Iterator | inline |
operator--(int) | Mat2d< T, ROWS, COLS >::Iterator | inline |
operator=(T *curr) | Mat2d< T, ROWS, COLS >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
Class for AVL tree. - More...
- -#include <avl_tree.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
avl_tree (std::vector< T > __elements={}) noexcept | |
Contructor for AVL tree class. | |
avl_tree (const avl_tree &a) | |
Copy constructor for avl tree class. | |
avl_tree & | operator= (const avl_tree &a) |
operator = for avl tree class | |
- | ~avl_tree () noexcept |
Destroy the avl tree object. | |
void | insert (T key) |
insert function. | |
-void | clear () |
clear function Erase all the nodes from the tree. | |
bool | search (T key) |
search function. | |
Iterator | begin () |
pointer that points to begin | |
Iterator | end () |
pointer that points to end | |
size_t | size () |
size function | |
void | remove (T key) |
remove function. | |
std::vector< T > | inorder () |
inorder function. | |
std::vector< T > | preorder () |
preorder function. | |
std::vector< T > | postorder () |
postorder function. | |
void | visualize () |
visualize function | |
Class for AVL tree.
-
-
|
- -inlineexplicitnoexcept | -
Contructor for AVL tree class.
-__elements | you can directly pass a vector<T> so you don't have to do insert multiple times. |
-
|
- -inlineexplicit | -
Copy constructor for avl tree class.
-a | the tree we want to copy |
pointer that points to begin
-pointer that points to end
-
-
|
- -inline | -
inorder function.
-
-
|
- -inline | -
insert function.
-key | key to be inserted. |
-
|
- -inline | -
operator = for avl tree class
-a | the tree we want to copy |
-
|
- -inline | -
postorder function.
-
-
|
- -inline | -
preorder function.
-
-
|
- -inline | -
remove function.
-key | key to be removed. |
-
|
- -inline | -
search function.
-key | key to be searched. |
-
|
- -inline | -
size function
-
-
|
- -inline | -
visualize function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for avl_tree< T >, including all inherited members.
-avl_tree(std::vector< T > __elements={}) noexcept | avl_tree< T > | inlineexplicit |
avl_tree(const avl_tree &a) | avl_tree< T > | inlineexplicit |
begin() | avl_tree< T > | inline |
clear() | avl_tree< T > | inline |
end() | avl_tree< T > | inline |
inorder() | avl_tree< T > | inline |
insert(T key) | avl_tree< T > | inline |
operator=(const avl_tree &a) | avl_tree< T > | inline |
postorder() | avl_tree< T > | inline |
preorder() | avl_tree< T > | inline |
remove(T key) | avl_tree< T > | inline |
search(T key) | avl_tree< T > | inline |
size() | avl_tree< T > | inline |
visualize() | avl_tree< T > | inline |
~avl_tree() noexcept | avl_tree< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <avl_tree.h>
-Public Member Functions | |
Iterator (const int64_t &index, std::vector< T > &els) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (int64_t index) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
Iterator & | operator-- () |
operator – for type Iterator | |
Iterator | operator-- (int) |
operator – for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-els | vector<T> - the elements in inorder fashion |
-
|
- -inline | -
operator * for type Iterator
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for avl_tree< T >::Iterator, including all inherited members.
-Iterator(const int64_t &index, std::vector< T > &els) noexcept | avl_tree< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | avl_tree< T >::Iterator | inline |
operator*() | avl_tree< T >::Iterator | inline |
operator++() | avl_tree< T >::Iterator | inline |
operator++(int) | avl_tree< T >::Iterator | inline |
operator--() | avl_tree< T >::Iterator | inline |
operator--(int) | avl_tree< T >::Iterator | inline |
operator=(int64_t index) | avl_tree< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
namespace for Niels Lohmann - More...
- -#include <json.hpp>
-Public Types | |
-using | value_t = detail::value_t |
-using | json_pointer = ::nlohmann::json_pointer<StringType> |
JSON Pointer, see nlohmann::json_pointer. | |
-template<typename T , typename SFINAE > | |
using | json_serializer = JSONSerializer<T, SFINAE> |
-using | error_handler_t = detail::error_handler_t |
how to treat decoding errors | |
-using | cbor_tag_handler_t = detail::cbor_tag_handler_t |
how to treat CBOR tags | |
-using | initializer_list_t = std::initializer_list<detail::json_ref<basic_json>> |
helper type for initializer lists of basic_json values | |
-using | input_format_t = detail::input_format_t |
-using | json_sax_t = json_sax<basic_json> |
SAX interface type, see nlohmann::json_sax. | |
using | parse_event_t = detail::parse_event_t |
parser event types | |
using | parser_callback_t = detail::parser_callback_t<basic_json> |
per-element parser callback type | |
-Public Member Functions | |
JSON_HEDLEY_RETURNS_NON_NULL const char * | type_name () const noexcept |
return the type as string | |
- | data (const value_t v) |
- | data (size_type cnt, const basic_json &val) |
- | data () noexcept=default |
- | data (data &&) noexcept=default |
- | data (const data &) noexcept=delete |
-data & | operator= (data &&) noexcept=delete |
-data & | operator= (const data &) noexcept=delete |
-Static Public Member Functions | |
static allocator_type | get_allocator () |
returns the allocator associated with the container | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | meta () |
returns version information on the library | |
-JSON_PRIVATE_UNLESS_TESTED const_reference bool static SAX bool | sax_parse (InputType &&i, SAX *sax, input_format_t format=input_format_t::json, const bool strict=true, const bool ignore_comments=false) |
template<class IteratorType , class SAX > | |
static bool | sax_parse (IteratorType first, IteratorType last, SAX *sax, input_format_t format=input_format_t::json, const bool strict=true, const bool ignore_comments=false) |
generate SAX events | |
template<typename SAX > | |
static bool | sax_parse (detail::span_input_adapter &&i, SAX *sax, input_format_t format=input_format_t::json, const bool strict=true, const bool ignore_comments=false) |
generate SAX events | |
-Public Attributes | |
-JSON_PRIVATE_UNLESS_TESTED | : struct data { value_t m_type = value_t::null |
-json_value | m_value = {} |
the value of the current element | |
-data | m_data = {} |
-Friends | |
-template<detail::value_t > | |
struct | detail::external_constructor |
-template<typename > | |
class | ::nlohmann::json_pointer |
-template<typename BasicJsonType , typename InputType > | |
class | ::nlohmann::detail::parser |
-template<typename BasicJsonType > | |
class | ::nlohmann::detail::iter_impl |
-template<typename BasicJsonType , typename CharType > | |
class | ::nlohmann::detail::binary_writer |
-template<typename BasicJsonType , typename InputType , typename SAX > | |
class | ::nlohmann::detail::binary_reader |
-template<typename BasicJsonType > | |
class | ::nlohmann::detail::json_sax_dom_parser |
-template<typename BasicJsonType > | |
class | ::nlohmann::detail::json_sax_dom_callback_parser |
-class | ::nlohmann::detail::exception |
std::istream & | operator<< (basic_json &j, std::istream &i) |
deserialize from stream | |
std::istream & | operator>> (std::istream &i, basic_json &j) |
deserialize from stream | |
element access | |
Access to the JSON value. - | |
reference | at (size_type idx) |
access specified array element with bounds checking | |
const_reference | at (size_type idx) const |
access specified array element with bounds checking | |
reference | at (const typename object_t::key_type &key) |
access specified object element with bounds checking | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
reference | at (KeyType &&key) |
access specified object element with bounds checking | |
const_reference | at (const typename object_t::key_type &key) const |
access specified object element with bounds checking | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
const_reference | at (KeyType &&key) const |
access specified object element with bounds checking | |
reference | operator[] (size_type idx) |
access specified array element | |
const_reference | operator[] (size_type idx) const |
access specified array element | |
reference | operator[] (typename object_t::key_type key) |
access specified object element | |
const_reference | operator[] (const typename object_t::key_type &key) const |
access specified object element | |
-template<typename T > | |
reference | operator[] (T *key) |
-template<typename T > | |
const_reference | operator[] (T *key) const |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
reference | operator[] (KeyType &&key) |
access specified object element | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
const_reference | operator[] (KeyType &&key) const |
access specified object element | |
template<class ValueType , detail::enable_if_t< !detail::is_transparent< object_comparator_t >::value &&detail::is_getable< basic_json_t, ValueType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ValueType | value (const typename object_t::key_type &key, const ValueType &default_value) const |
access specified object element with default value | |
template<class ValueType , class ReturnType = typename value_return_type<ValueType>::type, detail::enable_if_t< !detail::is_transparent< object_comparator_t >::value &&detail::is_getable< basic_json_t, ReturnType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ReturnType | value (const typename object_t::key_type &key, ValueType &&default_value) const |
access specified object element with default value | |
template<class ValueType , class KeyType , detail::enable_if_t< detail::is_transparent< object_comparator_t >::value &&!detail::is_json_pointer< KeyType >::value &&is_comparable_with_object_key< KeyType >::value &&detail::is_getable< basic_json_t, ValueType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ValueType | value (KeyType &&key, const ValueType &default_value) const |
access specified object element with default value | |
template<class ValueType , class KeyType , class ReturnType = typename value_return_type<ValueType>::type, detail::enable_if_t< detail::is_transparent< object_comparator_t >::value &&!detail::is_json_pointer< KeyType >::value &&is_comparable_with_object_key< KeyType >::value &&detail::is_getable< basic_json_t, ReturnType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ReturnType | value (KeyType &&key, ValueType &&default_value) const |
access specified object element via JSON Pointer with default value | |
template<class ValueType , detail::enable_if_t< detail::is_getable< basic_json_t, ValueType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ValueType | value (const json_pointer &ptr, const ValueType &default_value) const |
access specified object element via JSON Pointer with default value | |
template<class ValueType , class ReturnType = typename value_return_type<ValueType>::type, detail::enable_if_t< detail::is_getable< basic_json_t, ReturnType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ReturnType | value (const json_pointer &ptr, ValueType &&default_value) const |
access specified object element via JSON Pointer with default value | |
-template<class ValueType , class BasicJsonType , detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value &&detail::is_getable< basic_json_t, ValueType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ValueType | value (const ::nlohmann::json_pointer< BasicJsonType > &ptr, const ValueType &default_value) const |
-template<class ValueType , class BasicJsonType , class ReturnType = typename value_return_type<ValueType>::type, detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value &&detail::is_getable< basic_json_t, ReturnType >::value &&!std::is_same< value_t, detail::uncvref_t< ValueType > >::value, int > = 0> | |
ReturnType | value (const ::nlohmann::json_pointer< BasicJsonType > &ptr, ValueType &&default_value) const |
reference | front () |
access the first element | |
const_reference | front () const |
access the first element | |
reference | back () |
access the last element | |
const_reference | back () const |
access the last element | |
template<class IteratorType , detail::enable_if_t< std::is_same< IteratorType, typename basic_json_t::iterator >::value||std::is_same< IteratorType, typename basic_json_t::const_iterator >::value, int > = 0> | |
IteratorType | erase (IteratorType pos) |
remove element given an iterator | |
template<class IteratorType , detail::enable_if_t< std::is_same< IteratorType, typename basic_json_t::iterator >::value||std::is_same< IteratorType, typename basic_json_t::const_iterator >::value, int > = 0> | |
IteratorType | erase (IteratorType first, IteratorType last) |
remove elements given an iterator range | |
size_type | erase (const typename object_t::key_type &key) |
remove element from a JSON object given a key | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
size_type | erase (KeyType &&key) |
remove element from a JSON object given a key | |
void | erase (const size_type idx) |
remove element from a JSON array given an index | |
exceptions | |
Classes to implement user-defined exceptions. - | |
-using | exception = detail::exception |
-using | parse_error = detail::parse_error |
-using | invalid_iterator = detail::invalid_iterator |
-using | type_error = detail::type_error |
-using | out_of_range = detail::out_of_range |
-using | other_error = detail::other_error |
container types | |
The canonic container types to use basic_json like any other STL container. - | |
-using | value_type = basic_json |
the type of elements in a basic_json container | |
-using | reference = value_type& |
the type of an element reference | |
-using | const_reference = const value_type& |
the type of an element const reference | |
-using | difference_type = std::ptrdiff_t |
a type to represent differences between iterators | |
-using | size_type = std::size_t |
a type to represent container sizes | |
-using | allocator_type = AllocatorType<basic_json> |
the allocator type | |
-using | pointer = typename std::allocator_traits<allocator_type>::pointer |
the type of an element pointer | |
-using | const_pointer = typename std::allocator_traits<allocator_type>::const_pointer |
the type of an element const pointer | |
-using | iterator = iter_impl<basic_json> |
an iterator for a basic_json container | |
-using | const_iterator = iter_impl<const basic_json> |
a const iterator for a basic_json container | |
-using | reverse_iterator = json_reverse_iterator<typename basic_json::iterator> |
a reverse iterator for a basic_json container | |
-using | const_reverse_iterator = json_reverse_iterator<typename basic_json::const_iterator> |
a const reverse iterator for a basic_json container | |
JSON value data types | |
The data types to store a JSON value. These types are derived from the template arguments passed to class basic_json. - | |
using | default_object_comparator_t = std::less<StringType> |
default object key comparator type The actual object key comparator type (object_comparator_t) may be different. | |
using | object_t |
a type for an object | |
using | array_t = ArrayType<basic_json, AllocatorType<basic_json>> |
a type for an array | |
using | string_t = StringType |
a type for a string | |
using | boolean_t = BooleanType |
a type for a boolean | |
using | number_integer_t = NumberIntegerType |
a type for a number (integer) | |
using | number_unsigned_t = NumberUnsignedType |
a type for a number (unsigned) | |
using | number_float_t = NumberFloatType |
a type for a number (floating-point) | |
using | binary_t = nlohmann::byte_container_with_subtype<BinaryType> |
a type for a packed binary type | |
using | object_comparator_t = detail::actual_object_comparator_t<basic_json> |
object key comparator type | |
modifiers | |
void | swap (reference left, reference right) noexcept(std::is_nothrow_move_constructible< value_t >::value &&std::is_nothrow_move_assignable< value_t >::value &&std::is_nothrow_move_constructible< json_value >::value &&//NOLINT(cppcoreguidelines-noexcept-swap, performance-noexcept-swap) std::is_nothrow_move_assignable< json_value >::value) |
exchanges the values | |
void | clear () noexcept |
clears the contents | |
void | push_back (basic_json &&val) |
add an object to an array | |
reference | operator+= (basic_json &&val) |
add an object to an array | |
void | push_back (const basic_json &val) |
add an object to an array | |
reference | operator+= (const basic_json &val) |
add an object to an array | |
void | push_back (const typename object_t::value_type &val) |
add an object to an object | |
reference | operator+= (const typename object_t::value_type &val) |
add an object to an object | |
void | push_back (initializer_list_t init) |
add an object to an object | |
reference | operator+= (initializer_list_t init) |
add an object to an object | |
template<class... Args> | |
reference | emplace_back (Args &&... args) |
add an object to an array | |
template<class... Args> | |
std::pair< iterator, bool > | emplace (Args &&... args) |
add an object to an object if key does not exist | |
template<typename... Args> | |
iterator | insert_iterator (const_iterator pos, Args &&... args) |
iterator | insert (const_iterator pos, const basic_json &val) |
inserts element into array | |
iterator | insert (const_iterator pos, basic_json &&val) |
inserts element into array | |
iterator | insert (const_iterator pos, size_type cnt, const basic_json &val) |
inserts copies of element into array | |
iterator | insert (const_iterator pos, const_iterator first, const_iterator last) |
inserts range of elements into array | |
iterator | insert (const_iterator pos, initializer_list_t ilist) |
inserts elements from initializer list into array | |
void | insert (const_iterator first, const_iterator last) |
inserts range of elements into object | |
void | update (const_reference j, bool merge_objects=false) |
updates a JSON object from another object, overwriting existing keys | |
void | update (const_iterator first, const_iterator last, bool merge_objects=false) |
updates a JSON object from another object, overwriting existing keys | |
void | swap (reference other) noexcept(std::is_nothrow_move_constructible< value_t >::value &&std::is_nothrow_move_assignable< value_t >::value &&std::is_nothrow_move_constructible< json_value >::value &&//NOLINT(cppcoreguidelines-noexcept-swap, performance-noexcept-swap) std::is_nothrow_move_assignable< json_value >::value) |
exchanges the values | |
void | swap (array_t &other) |
exchanges the values | |
void | swap (object_t &other) |
exchanges the values | |
void | swap (string_t &other) |
exchanges the values | |
void | swap (binary_t &other) |
exchanges the values | |
void | swap (typename binary_t::container_type &other) |
exchanges the values | |
lexicographical comparison operators | |
-JSON_PRIVATE_UNLESS_TESTED | : static bool compares_unordered(const_reference lhs |
-JSON_PRIVATE_UNLESS_TESTED const_reference | rhs |
-JSON_PRIVATE_UNLESS_TESTED const_reference bool | inverse |
value access | |
Direct access to the stored value of a JSON value. - | |
template<typename PointerType , typename std::enable_if< std::is_pointer< PointerType >::value, int >::type = 0> | |
auto | get_ptr () noexcept -> decltype(std::declval< basic_json_t & >().get_impl_ptr(std::declval< PointerType >())) |
get a pointer value (implicit) | |
template<typename PointerType , typename std::enable_if< std::is_pointer< PointerType >::value &&std::is_const< typename std::remove_pointer< PointerType >::type >::value, int >::type = 0> | |
constexpr auto | get_ptr () const noexcept -> decltype(std::declval< const basic_json_t & >().get_impl_ptr(std::declval< PointerType >())) |
get a pointer value (implicit) | |
template<typename ValueTypeCV , typename ValueType = detail::uncvref_t<ValueTypeCV>> | |
auto | get () const noexcept(noexcept(std::declval< const basic_json_t & >().template get_impl< ValueType >(detail::priority_tag< 4 > {}))) -> decltype(std::declval< const basic_json_t & >().template get_impl< ValueType >(detail::priority_tag< 4 > {})) |
get a (pointer) value (explicit) | |
template<typename PointerType , typename std::enable_if< std::is_pointer< PointerType >::value, int >::type = 0> | |
auto | get () noexcept -> decltype(std::declval< basic_json_t & >().template get_ptr< PointerType >()) |
get a pointer value (explicit) | |
template<typename ValueType , detail::enable_if_t< !detail::is_basic_json< ValueType >::value &&detail::has_from_json< basic_json_t, ValueType >::value, int > = 0> | |
ValueType & | get_to (ValueType &v) const noexcept(noexcept(JSONSerializer< ValueType >::from_json(std::declval< const basic_json_t & >(), v))) |
get a value (explicit) | |
-template<typename ValueType , detail::enable_if_t< detail::is_basic_json< ValueType >::value, int > = 0> | |
ValueType & | get_to (ValueType &v) const |
-template<typename T , std::size_t N, typename Array = T (&)[N], detail::enable_if_t< detail::has_from_json< basic_json_t, Array >::value, int > = 0> | |
Array | get_to (T(&v)[N]) const noexcept(noexcept(JSONSerializer< Array >::from_json(std::declval< const basic_json_t & >(), v))) |
template<typename ReferenceType , typename std::enable_if< std::is_reference< ReferenceType >::value, int >::type = 0> | |
ReferenceType | get_ref () |
get a reference value (implicit) | |
template<typename ReferenceType , typename std::enable_if< std::is_reference< ReferenceType >::value &&std::is_const< typename std::remove_reference< ReferenceType >::type >::value, int >::type = 0> | |
ReferenceType | get_ref () const |
get a reference value (implicit) | |
template<typename ValueType , typename std::enable_if< detail::conjunction< detail::negation< std::is_pointer< ValueType > >, detail::negation< std::is_same< ValueType, std::nullptr_t > >, detail::negation< std::is_same< ValueType, detail::json_ref< basic_json > > >, detail::negation< std::is_same< ValueType, typename string_t::value_type > >, detail::negation< detail::is_basic_json< ValueType > >, detail::negation< std::is_same< ValueType, std::initializer_list< typename string_t::value_type > > >, detail::is_detected_lazy< detail::get_template_function, const basic_json_t &, ValueType > >::value, int >::type = 0> | |
JSON_EXPLICIT | operator ValueType () const |
get a value (implicit) | |
binary_t & | get_binary () |
get a binary value | |
const binary_t & | get_binary () const |
get a binary value | |
constructors and destructors | |
Constructors of class basic_json, copy/move constructor, copy assignment, static functions creating objects, and the destructor. - | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | binary (const typename binary_t::container_type &init) |
explicitly create a binary array (without subtype) | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | binary (const typename binary_t::container_type &init, typename binary_t::subtype_type subtype) |
explicitly create a binary array (with subtype) | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | binary (typename binary_t::container_type &&init) |
explicitly create a binary array | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | binary (typename binary_t::container_type &&init, typename binary_t::subtype_type subtype) |
explicitly create a binary array (with subtype) | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | array (initializer_list_t init={}) |
explicitly create an array from an initializer list | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | object (initializer_list_t init={}) |
explicitly create an object from an initializer list | |
basic_json (const value_t v) | |
create an empty value with a given type | |
basic_json (std::nullptr_t=nullptr) noexcept | |
create a null object | |
template<typename CompatibleType , typename U = detail::uncvref_t<CompatibleType>, detail::enable_if_t< !detail::is_basic_json< U >::value &&detail::is_compatible_type< basic_json_t, U >::value, int > = 0> | |
basic_json (CompatibleType &&val) noexcept(noexcept(//NOLINT(bugprone-forwarding-reference-overload, bugprone-exception-escape) JSONSerializer< U >::to_json(std::declval< basic_json_t & >(), std::forward< CompatibleType >(val)))) | |
create a JSON value from compatible types | |
template<typename BasicJsonType , detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value &&!std::is_same< basic_json, BasicJsonType >::value, int > = 0> | |
basic_json (const BasicJsonType &val) | |
create a JSON value from an existing one | |
basic_json (initializer_list_t init, bool type_deduction=true, value_t manual_type=value_t::array) | |
create a container (array or object) from an initializer list | |
basic_json (size_type cnt, const basic_json &val) | |
construct an array with count copies of given value | |
template<class InputIT , typename std::enable_if< std::is_same< InputIT, typename basic_json_t::iterator >::value||std::is_same< InputIT, typename basic_json_t::const_iterator >::value, int >::type = 0> | |
basic_json (InputIT first, InputIT last) | |
construct a JSON container given an iterator range | |
-template<typename JsonRef , detail::enable_if_t< detail::conjunction< detail::is_json_ref< JsonRef >, std::is_same< typename JsonRef::value_type, basic_json > >::value, int > = 0> | |
basic_json (const JsonRef &ref) | |
basic_json (const basic_json &other) | |
copy constructor | |
basic_json (basic_json &&other) noexcept | |
move constructor | |
basic_json & | operator= (basic_json other) noexcept(std::is_nothrow_move_constructible< value_t >::value &&std::is_nothrow_move_assignable< value_t >::value &&std::is_nothrow_move_constructible< json_value >::value &&std::is_nothrow_move_assignable< json_value >::value &&std::is_nothrow_move_assignable< json_base_class_t >::value) |
copy assignment | |
~basic_json () noexcept | |
destructor | |
iterators | |
static iteration_proxy< iterator > | iterator_wrapper (reference ref) noexcept |
wrapper to access iterator member functions in range-based for | |
static iteration_proxy< const_iterator > | iterator_wrapper (const_reference ref) noexcept |
wrapper to access iterator member functions in range-based for | |
iterator | begin () noexcept |
returns an iterator to the first element | |
const_iterator | begin () const noexcept |
returns an iterator to the first element | |
const_iterator | cbegin () const noexcept |
returns a const iterator to the first element | |
iterator | end () noexcept |
returns an iterator to one past the last element | |
const_iterator | end () const noexcept |
returns an iterator to one past the last element | |
const_iterator | cend () const noexcept |
returns an iterator to one past the last element | |
reverse_iterator | rbegin () noexcept |
returns an iterator to the reverse-beginning | |
const_reverse_iterator | rbegin () const noexcept |
returns an iterator to the reverse-beginning | |
reverse_iterator | rend () noexcept |
returns an iterator to the reverse-end | |
const_reverse_iterator | rend () const noexcept |
returns an iterator to the reverse-end | |
const_reverse_iterator | crbegin () const noexcept |
returns a const reverse iterator to the last element | |
const_reverse_iterator | crend () const noexcept |
returns a const reverse iterator to one before the first | |
iteration_proxy< iterator > | items () noexcept |
helper to access iterator member functions in range-based for | |
iteration_proxy< const_iterator > | items () const noexcept |
helper to access iterator member functions in range-based for | |
binary serialization/deserialization support | |
static std::vector< std::uint8_t > | to_cbor (const basic_json &j) |
create a CBOR serialization of a given JSON value | |
static void | to_cbor (const basic_json &j, detail::output_adapter< std::uint8_t > o) |
create a CBOR serialization of a given JSON value | |
static void | to_cbor (const basic_json &j, detail::output_adapter< char > o) |
create a CBOR serialization of a given JSON value | |
static std::vector< std::uint8_t > | to_msgpack (const basic_json &j) |
create a MessagePack serialization of a given JSON value | |
static void | to_msgpack (const basic_json &j, detail::output_adapter< std::uint8_t > o) |
create a MessagePack serialization of a given JSON value | |
static void | to_msgpack (const basic_json &j, detail::output_adapter< char > o) |
create a MessagePack serialization of a given JSON value | |
static std::vector< std::uint8_t > | to_ubjson (const basic_json &j, const bool use_size=false, const bool use_type=false) |
create a UBJSON serialization of a given JSON value | |
static void | to_ubjson (const basic_json &j, detail::output_adapter< std::uint8_t > o, const bool use_size=false, const bool use_type=false) |
create a UBJSON serialization of a given JSON value | |
static void | to_ubjson (const basic_json &j, detail::output_adapter< char > o, const bool use_size=false, const bool use_type=false) |
create a UBJSON serialization of a given JSON value | |
static std::vector< std::uint8_t > | to_bjdata (const basic_json &j, const bool use_size=false, const bool use_type=false) |
create a BJData serialization of a given JSON value | |
static void | to_bjdata (const basic_json &j, detail::output_adapter< std::uint8_t > o, const bool use_size=false, const bool use_type=false) |
create a BJData serialization of a given JSON value | |
static void | to_bjdata (const basic_json &j, detail::output_adapter< char > o, const bool use_size=false, const bool use_type=false) |
create a BJData serialization of a given JSON value | |
static std::vector< std::uint8_t > | to_bson (const basic_json &j) |
create a BSON serialization of a given JSON value | |
static void | to_bson (const basic_json &j, detail::output_adapter< std::uint8_t > o) |
create a BSON serialization of a given JSON value | |
static void | to_bson (const basic_json &j, detail::output_adapter< char > o) |
create a BSON serialization of a given JSON value | |
template<typename InputType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_cbor (InputType &&i, const bool strict=true, const bool allow_exceptions=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error) |
create a JSON value from an input in CBOR format | |
template<typename IteratorType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_cbor (IteratorType first, IteratorType last, const bool strict=true, const bool allow_exceptions=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error) |
create a JSON value from an input in CBOR format | |
-template<typename T > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_cbor (const T *ptr, std::size_t len, const bool strict=true, const bool allow_exceptions=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error) |
-static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_cbor (detail::span_input_adapter &&i, const bool strict=true, const bool allow_exceptions=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error) |
template<typename InputType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_msgpack (InputType &&i, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in MessagePack format | |
template<typename IteratorType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_msgpack (IteratorType first, IteratorType last, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in MessagePack format | |
-template<typename T > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_msgpack (const T *ptr, std::size_t len, const bool strict=true, const bool allow_exceptions=true) |
-static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_msgpack (detail::span_input_adapter &&i, const bool strict=true, const bool allow_exceptions=true) |
template<typename InputType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_ubjson (InputType &&i, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in UBJSON format | |
template<typename IteratorType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_ubjson (IteratorType first, IteratorType last, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in UBJSON format | |
-template<typename T > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_ubjson (const T *ptr, std::size_t len, const bool strict=true, const bool allow_exceptions=true) |
-static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_ubjson (detail::span_input_adapter &&i, const bool strict=true, const bool allow_exceptions=true) |
template<typename InputType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_bjdata (InputType &&i, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in BJData format | |
template<typename IteratorType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_bjdata (IteratorType first, IteratorType last, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in BJData format | |
template<typename InputType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_bson (InputType &&i, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in BSON format | |
template<typename IteratorType > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_bson (IteratorType first, IteratorType last, const bool strict=true, const bool allow_exceptions=true) |
create a JSON value from an input in BSON format | |
-template<typename T > | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_bson (const T *ptr, std::size_t len, const bool strict=true, const bool allow_exceptions=true) |
-static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | from_bson (detail::span_input_adapter &&i, const bool strict=true, const bool allow_exceptions=true) |
JSON Patch functions | |
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json | diff (const basic_json &source, const basic_json &target, const std::string &path="") |
creates a diff as a JSON patch | |
void | patch_inplace (const basic_json &json_patch) |
applies a JSON patch in-place without copying the object | |
basic_json | patch (const basic_json &json_patch) const |
applies a JSON patch to a copy of the current object | |
object inspection | |
Functions to inspect the type of a JSON value. - | |
string_t | dump (const int indent=-1, const char indent_char=' ', const bool ensure_ascii=false, const error_handler_t error_handler=error_handler_t::strict) const |
serialization | |
constexpr value_t | type () const noexcept |
return the type of the JSON value (explicit) | |
constexpr bool | is_primitive () const noexcept |
return whether type is primitive | |
constexpr bool | is_structured () const noexcept |
return whether type is structured | |
constexpr bool | is_null () const noexcept |
return whether value is null | |
constexpr bool | is_boolean () const noexcept |
return whether value is a boolean | |
constexpr bool | is_number () const noexcept |
return whether value is a number | |
constexpr bool | is_number_integer () const noexcept |
return whether value is an integer number | |
constexpr bool | is_number_unsigned () const noexcept |
return whether value is an unsigned integer number | |
constexpr bool | is_number_float () const noexcept |
return whether value is a floating-point number | |
constexpr bool | is_object () const noexcept |
return whether value is an object | |
constexpr bool | is_array () const noexcept |
return whether value is an array | |
constexpr bool | is_string () const noexcept |
return whether value is a string | |
constexpr bool | is_binary () const noexcept |
return whether value is a binary array | |
constexpr bool | is_discarded () const noexcept |
return whether value is discarded | |
constexpr | operator value_t () const noexcept |
return the type of the JSON value (implicit) | |
lookup | |
iterator | find (const typename object_t::key_type &key) |
find an element in a JSON object | |
const_iterator | find (const typename object_t::key_type &key) const |
find an element in a JSON object | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
iterator | find (KeyType &&key) |
find an element in a JSON object | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
const_iterator | find (KeyType &&key) const |
find an element in a JSON object | |
size_type | count (const typename object_t::key_type &key) const |
returns the number of occurrences of a key in a JSON object | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
size_type | count (KeyType &&key) const |
returns the number of occurrences of a key in a JSON object | |
bool | contains (const typename object_t::key_type &key) const |
check the existence of an element in a JSON object | |
template<class KeyType , detail::enable_if_t< detail::is_usable_as_basic_json_key_type< basic_json_t, KeyType >::value, int > = 0> | |
bool | contains (KeyType &&key) const |
check the existence of an element in a JSON object | |
bool | contains (const json_pointer &ptr) const |
check the existence of an element in a JSON object given a JSON pointer | |
-template<typename BasicJsonType , detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value, int > = 0> | |
bool | contains (const typename ::nlohmann::json_pointer< BasicJsonType > &ptr) const |
capacity | |
bool | empty () const noexcept |
checks whether the container is empty. | |
size_type | size () const noexcept |
returns the number of elements | |
size_type | max_size () const noexcept |
returns the maximum possible number of elements | |
JSON Pointer functions | |
reference | operator[] (const json_pointer &ptr) |
access specified element via JSON Pointer | |
-template<typename BasicJsonType , detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value, int > = 0> | |
reference | operator[] (const ::nlohmann::json_pointer< BasicJsonType > &ptr) |
const_reference | operator[] (const json_pointer &ptr) const |
access specified element via JSON Pointer | |
-template<typename BasicJsonType , detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value, int > = 0> | |
const_reference | operator[] (const ::nlohmann::json_pointer< BasicJsonType > &ptr) const |
reference | at (const json_pointer &ptr) |
access specified element via JSON Pointer | |
-template<typename BasicJsonType , detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value, int > = 0> | |
reference | at (const ::nlohmann::json_pointer< BasicJsonType > &ptr) |
const_reference | at (const json_pointer &ptr) const |
access specified element via JSON Pointer | |
-template<typename BasicJsonType , detail::enable_if_t< detail::is_basic_json< BasicJsonType >::value, int > = 0> | |
const_reference | at (const ::nlohmann::json_pointer< BasicJsonType > &ptr) const |
basic_json | flatten () const |
return flattened JSON value | |
basic_json | unflatten () const |
unflatten a previously flattened JSON value | |
JSON Merge Patch functions | |
void | merge_patch (const basic_json &apply_patch) |
applies a JSON Merge Patch | |
namespace for Niels Lohmann
-a class to store JSON values
-a class to store JSON values
-using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::array_t = ArrayType<basic_json, AllocatorType<basic_json>> | -
a type for an array
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::binary_t = nlohmann::byte_container_with_subtype<BinaryType> | -
a type for a packed binary type
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::boolean_t = BooleanType | -
a type for a boolean
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::default_object_comparator_t = std::less<StringType> | -
default object key comparator type The actual object key comparator type (object_comparator_t) may be different.
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::number_float_t = NumberFloatType | -
a type for a number (floating-point)
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::number_integer_t = NumberIntegerType | -
a type for a number (integer)
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::number_unsigned_t = NumberUnsignedType | -
a type for a number (unsigned)
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::object_comparator_t = detail::actual_object_comparator_t<basic_json> | -
object key comparator type
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::object_t | -
a type for an object
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::parse_event_t = detail::parse_event_t | -
parser event types
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::parser_callback_t = detail::parser_callback_t<basic_json> | -
per-element parser callback type
- - -using basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::string_t = StringType | -
a type for a string
- - -
-
|
- -inline | -
create an empty value with a given type
- - -
-
|
- -inlinenoexcept | -
create a null object
- - -
-
|
- -inlinenoexcept | -
create a JSON value from compatible types
- - -
-
|
- -inline | -
create a JSON value from an existing one
- - -
-
|
- -inline | -
create a container (array or object) from an initializer list
- - -
-
|
- -inline | -
construct an array with count copies of given value
- - -
-
|
- -inline | -
construct a JSON container given an iterator range
- - -
-
|
- -inline | -
copy constructor
- - -
-
|
- -inlinenoexcept | -
move constructor
- - -
-
|
- -inlinenoexcept | -
destructor
- - -
-
|
- -inlinestatic | -
explicitly create an array from an initializer list
- - -
-
|
- -inline | -
access specified element via JSON Pointer
- - -
-
|
- -inline | -
access specified element via JSON Pointer
- - -
-
|
- -inline | -
access specified object element with bounds checking
- - -
-
|
- -inline | -
access specified object element with bounds checking
- - -
-
|
- -inline | -
access specified object element with bounds checking
- - -
-
|
- -inline | -
access specified object element with bounds checking
- - -
-
|
- -inline | -
access specified array element with bounds checking
- - -
-
|
- -inline | -
access specified array element with bounds checking
- - -
-
|
- -inline | -
access the last element
- - -
-
|
- -inline | -
access the last element
- - -
-
|
- -inlinenoexcept | -
returns an iterator to the first element
- - -
-
|
- -inlinenoexcept | -
returns an iterator to the first element
- - -
-
|
- -inlinestatic | -
explicitly create a binary array (without subtype)
- - -
-
|
- -inlinestatic | -
explicitly create a binary array (with subtype)
- - -
-
|
- -inlinestatic | -
explicitly create a binary array
- - -
-
|
- -inlinestatic | -
explicitly create a binary array (with subtype)
- - -
-
|
- -inlinenoexcept | -
returns a const iterator to the first element
- - -
-
|
- -inlinenoexcept | -
returns an iterator to one past the last element
- - -
-
|
- -inlinenoexcept | -
clears the contents
- - -
-
|
- -inline | -
check the existence of an element in a JSON object given a JSON pointer
- - -
-
|
- -inline | -
check the existence of an element in a JSON object
- - -
-
|
- -inline | -
check the existence of an element in a JSON object
- - -
-
|
- -inline | -
returns the number of occurrences of a key in a JSON object
- - -
-
|
- -inline | -
returns the number of occurrences of a key in a JSON object
- - -
-
|
- -inlinenoexcept | -
returns a const reverse iterator to the last element
- - -
-
|
- -inlinenoexcept | -
returns a const reverse iterator to one before the first
- - -
-
|
- -inlinestatic | -
creates a diff as a JSON patch
- - -
-
|
- -inline | -
serialization
- - -
-
|
- -inline | -
add an object to an object if key does not exist
- - -
-
|
- -inline | -
add an object to an array
- - -
-
|
- -inlinenoexcept | -
checks whether the container is empty.
- - -
-
|
- -inlinenoexcept | -
returns an iterator to one past the last element
- - -
-
|
- -inlinenoexcept | -
returns an iterator to one past the last element
- - -
-
|
- -inline | -
remove element from a JSON array given an index
- - -
-
|
- -inline | -
remove element from a JSON object given a key
- - -
-
|
- -inline | -
remove elements given an iterator range
- - -
-
|
- -inline | -
remove element given an iterator
- - -
-
|
- -inline | -
remove element from a JSON object given a key
- - -
-
|
- -inline | -
find an element in a JSON object
- - -
-
|
- -inline | -
find an element in a JSON object
- - -
-
|
- -inline | -
find an element in a JSON object
- - -
-
|
- -inline | -
find an element in a JSON object
- - -
-
|
- -inline | -
return flattened JSON value
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in BJData format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in BJData format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in BSON format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in BSON format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in CBOR format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in CBOR format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in MessagePack format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in MessagePack format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in UBJSON format
- - -
-
|
- -inlinestatic | -
create a JSON value from an input in UBJSON format
- - -
-
|
- -inline | -
access the first element
- - -
-
|
- -inline | -
access the first element
- - -
-
|
- -inlinenoexcept | -
get a (pointer) value (explicit)
-Performs explicit type conversion between the JSON value and a compatible value if required.
-from_json()
method.ValueTypeCV | the provided value type |
ValueType | the returned value type |
ValueType | if necessary |
what | json_serializer<ValueType> from_json() method throws if conversion is required |
-
|
- -inlinenoexcept | -
get a pointer value (explicit)
-Explicit pointer access to the internally stored JSON value. No copies are made.
-PointerType | pointer type; must be a pointer to array_t, object_t, string_t, boolean_t, number_integer_t, number_unsigned_t, or number_float_t. |
nullptr
otherwise@complexity Constant.
-@liveexample{The example below shows how pointers to internal values of a JSON value can be requested. Note that no type conversions are made and a nullptr
is returned if the value and the requested pointer type does not match.,get__PointerType}
-
|
- -inlinestatic | -
returns the allocator associated with the container
- - -
-
|
- -inline | -
get a binary value
- - -
-
|
- -inline | -
get a binary value
- - -
-
|
- -inlineconstexprnoexcept | -
get a pointer value (implicit)
- - -
-
|
- -inlinenoexcept | -
get a pointer value (implicit)
- - -
-
|
- -inline | -
get a reference value (implicit)
- - -
-
|
- -inline | -
get a reference value (implicit)
- - -
-
|
- -inlinenoexcept | -
get a value (explicit)
- - -
-
|
- -inline | -
inserts range of elements into object
- - -
-
|
- -inline | -
inserts element into array
- - -
-
|
- -inline | -
inserts element into array
- - -
-
|
- -inline | -
inserts range of elements into array
- - -
-
|
- -inline | -
inserts elements from initializer list into array
- - -
-
|
- -inline | -
inserts copies of element into array
- - -
-
|
- -inline | -
Helper for insertion of an iterator
-
|
- -inlineconstexprnoexcept | -
return whether value is an array
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is a binary array
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is a boolean
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is discarded
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is null
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is a number
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is a floating-point number
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is an integer number
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is an unsigned integer number
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is an object
- - -
-
|
- -inlineconstexprnoexcept | -
return whether type is primitive
- - -
-
|
- -inlineconstexprnoexcept | -
return whether value is a string
- - -
-
|
- -inlineconstexprnoexcept | -
return whether type is structured
- - -
-
|
- -inlinenoexcept | -
helper to access iterator member functions in range-based for
- - -
-
|
- -inlinenoexcept | -
helper to access iterator member functions in range-based for
- - -
-
|
- -inlinestaticnoexcept | -
wrapper to access iterator member functions in range-based for
- -json::iterator_wrapper(j)
with j.items()
.
-
|
- -inlinestaticnoexcept | -
wrapper to access iterator member functions in range-based for
- -json::iterator_wrapper(j)
with j.items()
.
-
|
- -inlinenoexcept | -
returns the maximum possible number of elements
- - -
-
|
- -inline | -
applies a JSON Merge Patch
- - -
-
|
- -inlinestatic | -
returns version information on the library
- - -
-
|
- -inlinestatic | -
explicitly create an object from an initializer list
- - -
-
|
- -inlineconstexprnoexcept | -
return the type of the JSON value (implicit)
- - -
-
|
- -inline | -
get a value (implicit)
-Implicit type conversion between the JSON value and a compatible value. The call is realized by calling get() const.
-ValueType | non-pointer type compatible to the JSON value, for instance int for JSON integer numbers, bool for JSON booleans, or std::vector types for JSON arrays. The character type of string_t as well as an initializer list of this type is excluded to avoid ambiguities as these types implicitly convert to std::string . |
type_error.302 | in case passed type ValueType is incompatible to the JSON value type (e.g., the JSON value is of type boolean, but a string is requested); see example below |
@complexity Linear in the size of the JSON value.
-@liveexample{The example below shows several conversions from JSON values to other types. There a few things to note: (1) Floating-point numbers can be converted to integers\, (2) A JSON array can be converted to a standard std::vector<short>
\, (3) A JSON object can be converted to C++ associative containers such as std::unordered_map<std::string\, json>
.,operator__ValueType}
-
|
- -inline | -
add an object to an array
- - -
-
|
- -inline | -
add an object to an array
- - -
-
|
- -inline | -
add an object to an object
- - -
-
|
- -inline | -
add an object to an object
- - -
-
|
- -inlinenoexcept | -
copy assignment
- - -
-
|
- -inline | -
access specified element via JSON Pointer
- - -
-
|
- -inline | -
access specified element via JSON Pointer
- - -
-
|
- -inline | -
access specified object element
- - -
-
|
- -inline | -
access specified object element
- - -
-
|
- -inline | -
access specified object element
- - -
-
|
- -inline | -
access specified array element
- - -
-
|
- -inline | -
access specified array element
- - -
-
|
- -inline | -
access specified object element
- - -
-
|
- -inline | -
applies a JSON patch to a copy of the current object
- - -
-
|
- -inline | -
applies a JSON patch in-place without copying the object
- - -
-
|
- -inline | -
add an object to an array
- - -
-
|
- -inline | -
add an object to an array
- - -
-
|
- -inline | -
add an object to an object
- - -
-
|
- -inline | -
add an object to an object
- - -
-
|
- -inlinenoexcept | -
returns an iterator to the reverse-beginning
- - -
-
|
- -inlinenoexcept | -
returns an iterator to the reverse-beginning
- - -
-
|
- -inlinenoexcept | -
returns an iterator to the reverse-end
- - -
-
|
- -inlinenoexcept | -
returns an iterator to the reverse-end
- - -
-
|
- -inlinestatic | -
generate SAX events
- -
-
|
- -inlinestatic | -
generate SAX events
- - -
-
|
- -inlinenoexcept | -
returns the number of elements
- - -
-
|
- -inline | -
exchanges the values
- - -
-
|
- -inline | -
exchanges the values
- - -
-
|
- -inline | -
exchanges the values
- - -
-
|
- -inlinenoexcept | -
exchanges the values
- - -
-
|
- -inline | -
exchanges the values
- - -
-
|
- -inline | -
exchanges the values
- - -
-
|
- -inlinestatic | -
create a BJData serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a BJData serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a BJData serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a BSON serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a BSON serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a BSON serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a CBOR serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a CBOR serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a CBOR serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a MessagePack serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a MessagePack serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a MessagePack serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a UBJSON serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a UBJSON serialization of a given JSON value
- - -
-
|
- -inlinestatic | -
create a UBJSON serialization of a given JSON value
- - -
-
|
- -inlineconstexprnoexcept | -
return the type of the JSON value (explicit)
- - -
-
|
- -inlinenoexcept | -
return the type as string
- - -
-
|
- -inline | -
unflatten a previously flattened JSON value
- - -
-
|
- -inline | -
updates a JSON object from another object, overwriting existing keys
- - -
-
|
- -inline | -
updates a JSON object from another object, overwriting existing keys
- - -
-
|
- -inline | -
access specified object element via JSON Pointer with default value
- - -
-
|
- -inline | -
access specified object element via JSON Pointer with default value
- - -
-
|
- -inline | -
access specified object element with default value
- - -
-
|
- -inline | -
access specified object element with default value
- - -
-
|
- -inline | -
access specified object element with default value
- - -
-
|
- -inline | -
access specified object element via JSON Pointer with default value
- - -
-
|
- -friend | -
deserialize from stream
- -j << i;
with i >> j;
.
-
|
- -friend | -
deserialize from stream
- - -
-
|
- -friend | -
exchanges the values
- - -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
best first class - More...
- -#include <best_first.h>
-Public Member Functions | |
best_first (std::unordered_map< T, std::vector< std::pair< T, double > > > v={}) | |
best_first constructor | |
void | insert_node (T u, double val) |
insert_node function | |
bool | has_edge (T u, T v) |
has_edge function | |
void | add_edge (T u, T v) |
add_edge function | |
bool | search (T start, T end) |
search function | |
best first class
-
-
|
- -inlineexplicit | -
best_first constructor
-v | unordered_map<T, pair<T, int64_t> > initializer vector. Default = {} |
-
|
- -inline | -
add_edge function
-u | the first node |
v | the second node |
-
|
- -inline | -
has_edge function
-u | the first node |
v | the second node |
-
|
- -inline | -
insert_node function
-u | the node ID |
val | the heuristic value of node u |
-
|
- -inline | -
search function
-start | starting node |
end | end node |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for best_first< T >, including all inherited members.
-add_edge(T u, T v) | best_first< T > | inline |
best_first(std::unordered_map< T, std::vector< std::pair< T, double > > > v={}) | best_first< T > | inlineexplicit |
has_edge(T u, T v) | best_first< T > | inline |
insert_node(T u, double val) | best_first< T > | inline |
search(T start, T end) | best_first< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
Class for BST tree. - More...
- -#include <bst.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
bst (std::vector< T > __elements={}) noexcept | |
Contructor for BST tree class. | |
bst (const bst &b) | |
Copy constructor for bst class. | |
bst & | operator= (const bst &b) |
operator = for bst class | |
-void | clear () |
clear function | |
void | insert (T key) |
insert function. | |
bool | search (T key) |
search function. | |
void | remove (T key) |
remove function. | |
Iterator | begin () |
pointer that points to begin | |
Iterator | end () |
pointer that points to end | |
size_t | size () |
size function | |
std::vector< T > | inorder () |
inorder function. | |
std::vector< T > | preorder () |
preorder function. | |
std::vector< T > | postorder () |
postorder function. | |
void | visualize () |
visualize function | |
Class for BST tree.
-
-
|
- -inlineexplicitnoexcept | -
Contructor for BST tree class.
-__elements | you can directly pass a vector<T> so you don't have to do insert multiple times. |
-
|
- -inlineexplicit | -
Copy constructor for bst class.
-b | the tree we want to copy |
pointer that points to begin
-pointer that points to end
-
-
|
- -inline | -
inorder function.
-
-
|
- -inline | -
insert function.
-key | key to be inserted. |
-
|
- -inline | -
operator = for bst class
-b | the tree we want to copy |
-
|
- -inline | -
postorder function.
-
-
|
- -inline | -
preorder function.
-
-
|
- -inline | -
remove function.
-key | key to be removed. |
-
|
- -inline | -
search function.
-key | key to be searched. |
-
|
- -inline | -
size function
-
-
|
- -inline | -
visualize function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for bst< T >, including all inherited members.
-begin() | bst< T > | inline |
bst(std::vector< T > __elements={}) noexcept | bst< T > | inlineexplicit |
bst(const bst &b) | bst< T > | inlineexplicit |
clear() | bst< T > | inline |
end() | bst< T > | inline |
inorder() | bst< T > | inline |
insert(T key) | bst< T > | inline |
operator=(const bst &b) | bst< T > | inline |
postorder() | bst< T > | inline |
preorder() | bst< T > | inline |
remove(T key) | bst< T > | inline |
search(T key) | bst< T > | inline |
size() | bst< T > | inline |
visualize() | bst< T > | inline |
~bst() noexcept (defined in bst< T >) | bst< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <bst.h>
-Public Member Functions | |
Iterator (const int64_t &index, std::vector< T > &els) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (int64_t index) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
Iterator & | operator-- () |
operator – for type Iterator | |
Iterator | operator-- (int) |
operator – for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-els | vector<T> - the elements in inorder fashion |
-
|
- -inline | -
operator * for type Iterator
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for bst< T >::Iterator, including all inherited members.
-Iterator(const int64_t &index, std::vector< T > &els) noexcept | bst< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | bst< T >::Iterator | inline |
operator*() | bst< T >::Iterator | inline |
operator++() | bst< T >::Iterator | inline |
operator++(int) | bst< T >::Iterator | inline |
operator--() | bst< T >::Iterator | inline |
operator--(int) | bst< T >::Iterator | inline |
operator=(int64_t index) | bst< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for byte_container_with_subtype< BinaryType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
circular linked list class - More...
- -#include <circular_linked_list.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
circular_linked_list (std::vector< T > __elements={}) noexcept | |
Construct a new circular linked list object. | |
circular_linked_list (const circular_linked_list &c) | |
copy constructor for the circular linked list class | |
circular_linked_list & | operator= (const circular_linked_list &c) |
operator = for circular linked list class | |
bool | empty () |
empty function | |
size_t | size () |
size function | |
Iterator | begin () |
pointer that points to begin | |
Iterator | end () |
pointer that points to end | |
void | push_back (T key) |
push_back function | |
void | push_front (T key) |
push_front function | |
void | erase (T key) |
erase function | |
bool | search (T key) |
search function | |
std::vector< T > | elements () |
elements function | |
-void | visualize () |
visualize function returns a .dot file that can be previewd with graphviz plugin in vscode | |
-Friends | |
-std::ostream & | operator<< (std::ostream &out, circular_linked_list< T > &l1) |
<< operator for the circular list class | |
circular linked list class
-
-
|
- -inlineexplicitnoexcept | -
Construct a new circular linked list object.
-__elements | vector<T> so you dont have to do multiple insertions |
-
|
- -inlineexplicit | -
copy constructor for the circular linked list class
-c | the list we want to copy |
-
|
- -inline | -
pointer that points to begin
-std::vector< T > circular_linked_list< T >::elements | -( | -) | -- |
elements function
-
-
|
- -inline | -
empty function
-
-
|
- -inline | -
pointer that points to end
-void circular_linked_list< T >::erase | -( | -T | key | ) | -- |
erase function
-key | the key to be erased |
-
|
- -inline | -
operator = for circular linked list class
-c | the list we want to copy |
void circular_linked_list< T >::push_back | -( | -T | key | ) | -- |
push_back function
-key | the key to be inserted |
void circular_linked_list< T >::push_front | -( | -T | key | ) | -- |
push_front function
-key | the key to be inserted |
bool circular_linked_list< T >::search | -( | -T | key | ) | -- |
search function
-key | the key to be searched |
-
|
- -inline | -
size function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for circular_linked_list< T >, including all inherited members.
-begin() | circular_linked_list< T > | inline |
circular_linked_list(std::vector< T > __elements={}) noexcept | circular_linked_list< T > | inlineexplicit |
circular_linked_list(const circular_linked_list &c) | circular_linked_list< T > | inlineexplicit |
elements() | circular_linked_list< T > | |
empty() | circular_linked_list< T > | inline |
end() | circular_linked_list< T > | inline |
erase(T key) | circular_linked_list< T > | |
operator<< | circular_linked_list< T > | friend |
operator=(const circular_linked_list &c) | circular_linked_list< T > | inline |
push_back(T key) | circular_linked_list< T > | |
push_front(T key) | circular_linked_list< T > | |
search(T key) | circular_linked_list< T > | |
size() | circular_linked_list< T > | inline |
visualize() | circular_linked_list< T > |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <circular_linked_list.h>
-Public Member Functions | |
Iterator (const std::shared_ptr< node > &l) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (std::shared_ptr< node > current) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-l | linked list type |
-
|
- -inline | -
-
|
- -inline | -
operator * for type Iterator
-
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for circular_linked_list< T >::Iterator, including all inherited members.
-Iterator(const std::shared_ptr< node > &l) noexcept | circular_linked_list< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | circular_linked_list< T >::Iterator | inline |
operator*() | circular_linked_list< T >::Iterator | inline |
operator++() | circular_linked_list< T >::Iterator | inline |
operator++(int) | circular_linked_list< T >::Iterator | inline |
operator=(std::shared_ptr< node > current) | circular_linked_list< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
dequeue list class - More...
- -#include <dequeue_list.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
dequeue_list (std::vector< T > v={}) noexcept | |
Construct a new dequeue list object. | |
dequeue_list (const dequeue_list &q) | |
Copy constructor for dequeue list class. | |
dequeue_list & | operator= (const dequeue_list &q) |
operator = for dequeue list class | |
-void | clear () |
clear function | |
size_t | size () |
size functon | |
void | push_back (T key) |
push_back function | |
void | push_front (T key) |
push_front function | |
T | front () |
top function | |
T | back () |
back function | |
-void | pop_front () |
pop_front function removes the front from the dequeue | |
-void | pop_back () |
pop_back function removes the back from the queue | |
Iterator | begin () |
pointer to the front of the dequeue | |
Iterator | end () |
pointer to the end of the dequeue | |
dequeue list class
-
-
|
- -inlineexplicitnoexcept | -
Construct a new dequeue list object.
-v | initializer vector |
-
|
- -inlineexplicit | -
Copy constructor for dequeue list class.
-q | the dequeue we want to copy |
-
|
- -inline | -
back function
-
-
|
- -inline | -
pointer to the front of the dequeue
-
-
|
- -inline | -
pointer to the end of the dequeue
-
-
|
- -inline | -
top function
-
-
|
- -inline | -
operator = for dequeue list class
-q | the dequeue we want to copy |
-
|
- -inline | -
push_back function
-key | the key to be pushed back |
-
|
- -inline | -
push_front function
-key | the key to be pushed front |
-
|
- -inline | -
size functon
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for dequeue_list< T >, including all inherited members.
-back() | dequeue_list< T > | inline |
begin() | dequeue_list< T > | inline |
clear() | dequeue_list< T > | inline |
dequeue_list(std::vector< T > v={}) noexcept | dequeue_list< T > | inlineexplicit |
dequeue_list(const dequeue_list &q) | dequeue_list< T > | inlineexplicit |
end() | dequeue_list< T > | inline |
front() | dequeue_list< T > | inline |
operator=(const dequeue_list &q) | dequeue_list< T > | inline |
pop_back() | dequeue_list< T > | inline |
pop_front() | dequeue_list< T > | inline |
push_back(T key) | dequeue_list< T > | inline |
push_front(T key) | dequeue_list< T > | inline |
size() | dequeue_list< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <dequeue_list.h>
-Public Member Functions | |
Iterator (const std::shared_ptr< node > &q) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (std::shared_ptr< node > current) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-q | dequeue_list pointer |
-
|
- -inline | -
-
|
- -inline | -
operator * for type Iterator
-
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for dequeue_list< T >::Iterator, including all inherited members.
-Iterator(const std::shared_ptr< node > &q) noexcept | dequeue_list< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | dequeue_list< T >::Iterator | inline |
operator*() | dequeue_list< T >::Iterator | inline |
operator++() | dequeue_list< T >::Iterator | inline |
operator++(int) | dequeue_list< T >::Iterator | inline |
operator=(std::shared_ptr< node > current) | dequeue_list< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
deserialization of CBOR, MessagePack, and UBJSON values - More...
- -#include <json.hpp>
-Public Member Functions | |
binary_reader (InputAdapterType &&adapter, const input_format_t format=input_format_t::json) noexcept | |
create a binary reader | |
- | binary_reader (const binary_reader &)=delete |
- | binary_reader (binary_reader &&)=default |
-binary_reader & | operator= (const binary_reader &)=delete |
-binary_reader & | operator= (binary_reader &&)=default |
bool | sax_parse (const input_format_t format, json_sax_t *sax_, const bool strict=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error) |
deserialization of CBOR, MessagePack, and UBJSON values
-
-
|
- -inlineexplicitnoexcept | -
create a binary reader
-[in] | adapter | input adapter to read from |
-
|
- -inline | -
[in] | format | the binary format to parse |
[in] | sax_ | a SAX event processor |
[in] | strict | whether to expect the input to be consumed completed |
[in] | tag_handler | how to treat CBOR tags |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::binary_reader< BasicJsonType, InputAdapterType, SAX >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
serialization to CBOR and MessagePack values - More...
- -#include <json.hpp>
-Public Member Functions | |
binary_writer (output_adapter_t< CharType > adapter) | |
create a binary writer | |
void | write_bson (const BasicJsonType &j) |
void | write_cbor (const BasicJsonType &j) |
void | write_msgpack (const BasicJsonType &j) |
void | write_ubjson (const BasicJsonType &j, const bool use_count, const bool use_type, const bool add_prefix=true, const bool use_bjdata=false) |
-Static Public Member Functions | |
-template<typename C = CharType, enable_if_t< std::is_signed< C >::value &&std::is_signed< char >::value > * = nullptr> | |
static constexpr CharType | to_char_type (std::uint8_t x) noexcept |
-template<typename C = CharType, enable_if_t< std::is_signed< C >::value &&std::is_unsigned< char >::value > * = nullptr> | |
static CharType | to_char_type (std::uint8_t x) noexcept |
-template<typename C = CharType, enable_if_t< std::is_unsigned< C >::value > * = nullptr> | |
static constexpr CharType | to_char_type (std::uint8_t x) noexcept |
-template<typename InputCharType , typename C = CharType, enable_if_t< std::is_signed< C >::value &&std::is_signed< char >::value &&std::is_same< char, typename std::remove_cv< InputCharType >::type >::value > * = nullptr> | |
static constexpr CharType | to_char_type (InputCharType x) noexcept |
serialization to CBOR and MessagePack values
-
-
|
- -inlineexplicit | -
create a binary writer
-[in] | adapter | output adapter to write to |
-
|
- -inline | -
[in] | j | JSON value to serialize |
-
|
- -inline | -
[in] | j | JSON value to serialize |
-
|
- -inline | -
[in] | j | JSON value to serialize |
-
|
- -inline | -
[in] | j | JSON value to serialize |
[in] | use_count | whether to use '#' prefixes (optimized format) |
[in] | use_type | whether to use '$' prefixes (optimized format) |
[in] | add_prefix | whether prefixes need to be used for this value |
[in] | use_bjdata | whether write in BJData format, default is false |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::binary_writer< BasicJsonType, CharType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
general exception of the basic_json class - More...
- -#include <json.hpp>
-Public Member Functions | |
-const char * | what () const noexcept override |
returns the explanatory string | |
-Public Attributes | |
-const int | id |
the id of the exception | |
-Protected Member Functions | |
- | exception (int id_, const char *what_arg) |
-Static Protected Member Functions | |
-static std::string | name (const std::string &ename, int id_) |
-static std::string | diagnostics (std::nullptr_t) |
-template<typename BasicJsonType > | |
static std::string | diagnostics (const BasicJsonType *leaf_element) |
general exception of the basic_json class
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::exception, including all inherited members.
-diagnostics(std::nullptr_t) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
diagnostics(const BasicJsonType *leaf_element) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
exception(int id_, const char *what_arg) (defined in detail::exception) | detail::exception | inlineprotected |
id | detail::exception | |
name(const std::string &ename, int id_) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
what() const noexcept override | detail::exception | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <json.hpp>
-Public Types | |
-using | char_type = char |
-Public Member Functions | |
- | file_input_adapter (std::FILE *f) noexcept |
- | file_input_adapter (const file_input_adapter &)=delete |
- | file_input_adapter (file_input_adapter &&) noexcept=default |
-file_input_adapter & | operator= (const file_input_adapter &)=delete |
-file_input_adapter & | operator= (file_input_adapter &&)=delete |
-std::char_traits< char >::int_type | get_character () noexcept |
Input adapter for stdio file access. This adapter read only 1 byte and do not use any buffer. This adapter is a very low level adapter.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::file_input_adapter, including all inherited members.
-char_type typedef (defined in detail::file_input_adapter) | detail::file_input_adapter | |
file_input_adapter(std::FILE *f) noexcept (defined in detail::file_input_adapter) | detail::file_input_adapter | inlineexplicit |
file_input_adapter(const file_input_adapter &)=delete (defined in detail::file_input_adapter) | detail::file_input_adapter | |
file_input_adapter(file_input_adapter &&) noexcept=default (defined in detail::file_input_adapter) | detail::file_input_adapter | |
get_character() noexcept (defined in detail::file_input_adapter) | detail::file_input_adapter | inline |
operator=(const file_input_adapter &)=delete (defined in detail::file_input_adapter) | detail::file_input_adapter | |
operator=(file_input_adapter &&)=delete (defined in detail::file_input_adapter) | detail::file_input_adapter | |
~file_input_adapter()=default (defined in detail::file_input_adapter) | detail::file_input_adapter |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <json.hpp>
-Public Types | |
-using | char_type = char |
-Public Member Functions | |
- | input_stream_adapter (std::istream &i) |
- | input_stream_adapter (const input_stream_adapter &)=delete |
-input_stream_adapter & | operator= (input_stream_adapter &)=delete |
-input_stream_adapter & | operator= (input_stream_adapter &&)=delete |
- | input_stream_adapter (input_stream_adapter &&rhs) noexcept |
-std::char_traits< char >::int_type | get_character () |
Input adapter for a (caching) istream. Ignores a UFT Byte Order Mark at beginning of input. Does not support changing the underlying std::streambuf in mid-input. Maintains underlying std::istream and std::streambuf to support subsequent use of standard std::istream operations to process any input characters following those used in parsing the JSON input. Clears the std::istream flags; any input errors (e.g., EOF) will be detected by the first subsequent call for input from the std::istream.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::input_stream_adapter, including all inherited members.
-char_type typedef (defined in detail::input_stream_adapter) | detail::input_stream_adapter | |
get_character() (defined in detail::input_stream_adapter) | detail::input_stream_adapter | inline |
input_stream_adapter(std::istream &i) (defined in detail::input_stream_adapter) | detail::input_stream_adapter | inlineexplicit |
input_stream_adapter(const input_stream_adapter &)=delete (defined in detail::input_stream_adapter) | detail::input_stream_adapter | |
input_stream_adapter(input_stream_adapter &&rhs) noexcept (defined in detail::input_stream_adapter) | detail::input_stream_adapter | inline |
operator=(input_stream_adapter &)=delete (defined in detail::input_stream_adapter) | detail::input_stream_adapter | |
operator=(input_stream_adapter &&)=delete (defined in detail::input_stream_adapter) | detail::input_stream_adapter | |
~input_stream_adapter() (defined in detail::input_stream_adapter) | detail::input_stream_adapter | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
exception indicating errors with iterators - More...
- -#include <json.hpp>
-Static Public Member Functions | |
-template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0> | |
static invalid_iterator | create (int id_, const std::string &what_arg, BasicJsonContext context) |
-Additional Inherited Members | |
Public Member Functions inherited from detail::exception | |
-const char * | what () const noexcept override |
returns the explanatory string | |
Public Attributes inherited from detail::exception | |
-const int | id |
the id of the exception | |
Protected Member Functions inherited from detail::exception | |
- | exception (int id_, const char *what_arg) |
Static Protected Member Functions inherited from detail::exception | |
-static std::string | name (const std::string &ename, int id_) |
-static std::string | diagnostics (std::nullptr_t) |
-template<typename BasicJsonType > | |
static std::string | diagnostics (const BasicJsonType *leaf_element) |
exception indicating errors with iterators
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::invalid_iterator, including all inherited members.
-create(int id_, const std::string &what_arg, BasicJsonContext context) (defined in detail::invalid_iterator) | detail::invalid_iterator | inlinestatic |
diagnostics(std::nullptr_t) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
diagnostics(const BasicJsonType *leaf_element) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
exception(int id_, const char *what_arg) (defined in detail::exception) | detail::exception | inlineprotected |
id | detail::exception | |
name(const std::string &ename, int id_) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
what() const noexcept override | detail::exception | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
a template for a bidirectional iterator for the basic_json class This class implements a both iterators (iterator and const_iterator) for the basic_json class. - More...
- -#include <json.hpp>
-Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
-using | value_type = typename BasicJsonType::value_type |
the type of the values when the iterator is dereferenced | |
-using | difference_type = typename BasicJsonType::difference_type |
a type to represent differences between iterators | |
using | pointer |
defines a pointer to the type iterated over (value_type) | |
using | reference |
defines a reference to the type iterated over (value_type) | |
-Public Member Functions | |
- | iter_impl (iter_impl &&) noexcept=default |
-iter_impl & | operator= (iter_impl &&) noexcept=default |
iter_impl (pointer object) noexcept | |
constructor for a given JSON instance | |
iter_impl (const iter_impl< const BasicJsonType > &other) noexcept | |
const copy constructor | |
iter_impl & | operator= (const iter_impl< const BasicJsonType > &other) noexcept |
converting assignment | |
iter_impl (const iter_impl< typename std::remove_const< BasicJsonType >::type > &other) noexcept | |
converting constructor | |
iter_impl & | operator= (const iter_impl< typename std::remove_const< BasicJsonType >::type > &other) noexcept |
converting assignment | |
- | switch (m_object->m_data.m_type) |
void | set_end () noexcept |
set the iterator past the last value | |
reference | operator* () const |
return a reference to the value pointed to by the iterator | |
pointer | operator-> () const |
dereference the iterator | |
iter_impl | operator++ (int) & |
post-increment (it++) | |
iter_impl & | operator++ () |
pre-increment (++it) | |
iter_impl | operator-- (int) & |
post-decrement (it–) | |
iter_impl & | operator-- () |
pre-decrement (–it) | |
template<typename IterImpl , detail::enable_if_t<(std::is_same< IterImpl, iter_impl >::value||std::is_same< IterImpl, other_iter_impl >::value), std::nullptr_t > = nullptr> | |
bool | operator== (const IterImpl &other) const |
comparison: equal | |
template<typename IterImpl , detail::enable_if_t<(std::is_same< IterImpl, iter_impl >::value||std::is_same< IterImpl, other_iter_impl >::value), std::nullptr_t > = nullptr> | |
bool | operator!= (const IterImpl &other) const |
comparison: not equal | |
bool | operator< (const iter_impl &other) const |
comparison: smaller | |
bool | operator<= (const iter_impl &other) const |
comparison: less than or equal | |
bool | operator> (const iter_impl &other) const |
comparison: greater than | |
bool | operator>= (const iter_impl &other) const |
comparison: greater than or equal | |
iter_impl & | operator+= (difference_type i) |
add to iterator | |
iter_impl & | operator-= (difference_type i) |
subtract from iterator | |
iter_impl | operator+ (difference_type i) const |
add to iterator | |
iter_impl | operator- (difference_type i) const |
subtract from iterator | |
difference_type | operator- (const iter_impl &other) const |
return difference | |
reference | operator[] (difference_type n) const |
access to successor | |
const object_t::key_type & | key () const |
return the key of an object iterator | |
reference | value () const |
return the value of an iterator | |
-Public Attributes | |
-JSON_PRIVATE_UNLESS_TESTED | : void set_begin() noexcept { JSON_ASSERT(m_object != nullptr) |
-JSON_PRIVATE_UNLESS_TESTED | : pointer m_object = nullptr |
-internal_iterator< typename std::remove_const< BasicJsonType >::type > | m_it {} |
the actual iterator of the associated instance | |
-Friends | |
iter_impl | operator+ (difference_type i, const iter_impl &it) |
addition of distance and iterator | |
a template for a bidirectional iterator for the basic_json class This class implements a both iterators (iterator and const_iterator) for the basic_json class.
-using detail::iter_impl< BasicJsonType >::iterator_category = std::bidirectional_iterator_tag | -
The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. The C++ Standard has never required user-defined iterators to derive from std::iterator. A user-defined iterator should provide publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators.
- -using detail::iter_impl< BasicJsonType >::pointer | -
defines a pointer to the type iterated over (value_type)
- -using detail::iter_impl< BasicJsonType >::reference | -
defines a reference to the type iterated over (value_type)
- -
-
|
- -inlineexplicitnoexcept | -
constructor for a given JSON instance
-[in] | object | pointer to a JSON object for this iterator |
m_object != nullptr
.
-
|
- -inlinenoexcept | -
const copy constructor
-[in] | other | const iterator to copy from |
-
|
- -inlinenoexcept | -
converting constructor
-[in] | other | non-const iterator to copy from |
-
|
- -inline | -
return the key of an object iterator
-m_object != nullptr
.
-
|
- -inline | -
comparison: not equal
-m_object != nullptr
.
-
|
- -inline | -
return a reference to the value pointed to by the iterator
-m_object != nullptr
.
-
|
- -inline | -
add to iterator
-m_object != nullptr
.
-
|
- -inline | -
pre-increment (++it)
-m_object != nullptr
.
-
|
- -inline | -
post-increment (it++)
-m_object != nullptr
.
-
|
- -inline | -
add to iterator
-m_object != nullptr
.
-
|
- -inline | -
return difference
-m_object != nullptr
.
-
|
- -inline | -
subtract from iterator
-m_object != nullptr
.
-
|
- -inline | -
pre-decrement (–it)
-m_object != nullptr
.
-
|
- -inline | -
post-decrement (it–)
-m_object != nullptr
.
-
|
- -inline | -
subtract from iterator
-m_object != nullptr
.
-
|
- -inline | -
dereference the iterator
-m_object != nullptr
.
-
|
- -inline | -
comparison: smaller
-m_object != nullptr
.
-
|
- -inline | -
comparison: less than or equal
-m_object != nullptr
.
-
|
- -inlinenoexcept | -
converting assignment
-[in] | other | const iterator to copy from |
-
|
- -inlinenoexcept | -
converting assignment
-[in] | other | non-const iterator to copy from |
-
|
- -inline | -
comparison: equal
-m_object != nullptr
.
-
|
- -inline | -
comparison: greater than
-m_object != nullptr
.
-
|
- -inline | -
comparison: greater than or equal
-m_object != nullptr
.
-
|
- -inline | -
access to successor
-m_object != nullptr
.
-
|
- -inlinenoexcept | -
set the iterator past the last value
-m_object != nullptr
.
-
|
- -inline | -
return the value of an iterator
-m_object != nullptr
.
-
|
- -friend | -
addition of distance and iterator
-m_object != nullptr
. - |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iter_impl< BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
proxy class for the items() function - More...
- -#include <json.hpp>
-Public Member Functions | |
- | iteration_proxy (typename IteratorType::reference cont) noexcept |
construct iteration proxy from a container | |
- | iteration_proxy (iteration_proxy const &)=default |
-iteration_proxy & | operator= (iteration_proxy const &)=default |
- | iteration_proxy (iteration_proxy &&) noexcept=default |
-iteration_proxy & | operator= (iteration_proxy &&) noexcept=default |
-iteration_proxy_value< IteratorType > | begin () const noexcept |
return iterator begin (needed for range-based for) | |
-iteration_proxy_value< IteratorType > | end () const noexcept |
return iterator end (needed for range-based for) | |
proxy class for the items() function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iteration_proxy< IteratorType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | difference_type = std::ptrdiff_t |
-using | value_type = iteration_proxy_value |
-using | pointer = value_type * |
-using | reference = value_type & |
-using | iterator_category = std::input_iterator_tag |
-using | string_type = typename std::remove_cv< typename std::remove_reference<decltype( std::declval<IteratorType>().key() ) >::type >::type |
-Public Member Functions | |
- | iteration_proxy_value (IteratorType it, std::size_t array_index_=0) noexcept(std::is_nothrow_move_constructible< IteratorType >::value &&std::is_nothrow_default_constructible< string_type >::value) |
- | iteration_proxy_value (iteration_proxy_value const &)=default |
-iteration_proxy_value & | operator= (iteration_proxy_value const &)=default |
- | iteration_proxy_value (iteration_proxy_value &&) noexcept(std::is_nothrow_move_constructible< IteratorType >::value &&std::is_nothrow_move_constructible< string_type >::value)=default |
-iteration_proxy_value & | operator= (iteration_proxy_value &&) noexcept(std::is_nothrow_move_assignable< IteratorType >::value &&std::is_nothrow_move_assignable< string_type >::value)=default |
-const iteration_proxy_value & | operator* () const |
dereference operator (needed for range-based for) | |
-iteration_proxy_value & | operator++ () |
increment operator (needed for range-based for) | |
-iteration_proxy_value | operator++ (int) & |
-bool | operator== (const iteration_proxy_value &o) const |
equality operator (needed for InputIterator) | |
-bool | operator!= (const iteration_proxy_value &o) const |
inequality operator (needed for range-based for) | |
-const string_type & | key () const |
return key of the iterator | |
-IteratorType::reference | value () const |
return value of the iterator | |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iteration_proxy_value< IteratorType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | char_type = typename std::iterator_traits<IteratorType>::value_type |
-Public Member Functions | |
- | iterator_input_adapter (IteratorType first, IteratorType last) |
-char_traits< char_type >::int_type | get_character () |
-Friends | |
-template<typename BaseInputAdapter , size_t T> | |
struct | wide_string_input_helper |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iterator_input_adapter< IteratorType >, including all inherited members.
-char_type typedef (defined in detail::iterator_input_adapter< IteratorType >) | detail::iterator_input_adapter< IteratorType > | |
get_character() (defined in detail::iterator_input_adapter< IteratorType >) | detail::iterator_input_adapter< IteratorType > | inline |
iterator_input_adapter(IteratorType first, IteratorType last) (defined in detail::iterator_input_adapter< IteratorType >) | detail::iterator_input_adapter< IteratorType > | inline |
wide_string_input_helper (defined in detail::iterator_input_adapter< IteratorType >) | detail::iterator_input_adapter< IteratorType > | friend |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | value_type = BasicJsonType |
-Public Member Functions | |
- | json_ref (value_type &&value) |
- | json_ref (const value_type &value) |
- | json_ref (std::initializer_list< json_ref > init) |
-template<class... Args, enable_if_t< std::is_constructible< value_type, Args... >::value, int > = 0> | |
json_ref (Args &&... args) | |
- | json_ref (json_ref &&) noexcept=default |
- | json_ref (const json_ref &)=delete |
-json_ref & | operator= (const json_ref &)=delete |
-json_ref & | operator= (json_ref &&)=delete |
-value_type | moved_or_copied () const |
-value_type const & | operator* () const |
-value_type const * | operator-> () const |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::json_ref< BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
a template for a reverse iterator class - More...
- -#include <json.hpp>
-Public Types | |
-using | difference_type = std::ptrdiff_t |
-using | base_iterator = std::reverse_iterator<Base> |
shortcut to the reverse iterator adapter | |
-using | reference = typename Base::reference |
the reference type for the pointed-to element | |
-Public Member Functions | |
- | json_reverse_iterator (const typename base_iterator::iterator_type &it) noexcept |
create reverse iterator from iterator | |
- | json_reverse_iterator (const base_iterator &it) noexcept |
create reverse iterator from base class | |
-json_reverse_iterator | operator++ (int) & |
post-increment (it++) | |
-json_reverse_iterator & | operator++ () |
pre-increment (++it) | |
-json_reverse_iterator | operator-- (int) & |
post-decrement (it–) | |
-json_reverse_iterator & | operator-- () |
pre-decrement (–it) | |
-json_reverse_iterator & | operator+= (difference_type i) |
add to iterator | |
-json_reverse_iterator | operator+ (difference_type i) const |
add to iterator | |
-json_reverse_iterator | operator- (difference_type i) const |
subtract from iterator | |
-difference_type | operator- (const json_reverse_iterator &other) const |
return difference | |
-reference | operator[] (difference_type n) const |
access to successor | |
-auto | key () const -> decltype(std::declval< Base >().key()) |
return the key of an object iterator | |
-reference | value () const |
return the value of an iterator | |
a template for a reverse iterator class
-Base | the base iterator type to reverse. Valid types are iterator (to create reverse_iterator) and const_iterator (to create const_reverse_iterator). |
@requirement The class satisfies the following concept requirements:
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::json_reverse_iterator< Base >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | number_integer_t = typename BasicJsonType::number_integer_t |
-using | number_unsigned_t = typename BasicJsonType::number_unsigned_t |
-using | number_float_t = typename BasicJsonType::number_float_t |
-using | string_t = typename BasicJsonType::string_t |
-using | binary_t = typename BasicJsonType::binary_t |
-Public Member Functions | |
-bool | null () |
-bool | boolean (bool) |
-bool | number_integer (number_integer_t) |
-bool | number_unsigned (number_unsigned_t) |
-bool | number_float (number_float_t, const string_t &) |
-bool | string (string_t &) |
-bool | binary (binary_t &) |
-bool | start_object (std::size_t=static_cast< std::size_t >(-1)) |
-bool | key (string_t &) |
-bool | end_object () |
-bool | start_array (std::size_t=static_cast< std::size_t >(-1)) |
-bool | end_array () |
-bool | parse_error (std::size_t, const std::string &, const detail::exception &) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::json_sax_acceptor< BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | number_integer_t = typename BasicJsonType::number_integer_t |
-using | number_unsigned_t = typename BasicJsonType::number_unsigned_t |
-using | number_float_t = typename BasicJsonType::number_float_t |
-using | string_t = typename BasicJsonType::string_t |
-using | binary_t = typename BasicJsonType::binary_t |
-using | parser_callback_t = typename BasicJsonType::parser_callback_t |
-using | parse_event_t = typename BasicJsonType::parse_event_t |
-Public Member Functions | |
- | json_sax_dom_callback_parser (BasicJsonType &r, const parser_callback_t cb, const bool allow_exceptions_=true) |
- | json_sax_dom_callback_parser (const json_sax_dom_callback_parser &)=delete |
- | json_sax_dom_callback_parser (json_sax_dom_callback_parser &&)=default |
-json_sax_dom_callback_parser & | operator= (const json_sax_dom_callback_parser &)=delete |
-json_sax_dom_callback_parser & | operator= (json_sax_dom_callback_parser &&)=default |
-bool | null () |
-bool | boolean (bool val) |
-bool | number_integer (number_integer_t val) |
-bool | number_unsigned (number_unsigned_t val) |
-bool | number_float (number_float_t val, const string_t &) |
-bool | string (string_t &val) |
-bool | binary (binary_t &val) |
-bool | start_object (std::size_t len) |
-bool | key (string_t &val) |
-bool | end_object () |
-bool | start_array (std::size_t len) |
-bool | end_array () |
-template<class Exception > | |
bool | parse_error (std::size_t, const std::string &, const Exception &ex) |
-constexpr bool | is_errored () const |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::json_sax_dom_callback_parser< BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
SAX implementation to create a JSON value from SAX events. - More...
- -#include <json.hpp>
-Public Types | |
-using | number_integer_t = typename BasicJsonType::number_integer_t |
-using | number_unsigned_t = typename BasicJsonType::number_unsigned_t |
-using | number_float_t = typename BasicJsonType::number_float_t |
-using | string_t = typename BasicJsonType::string_t |
-using | binary_t = typename BasicJsonType::binary_t |
-Public Member Functions | |
json_sax_dom_parser (BasicJsonType &r, const bool allow_exceptions_=true) | |
- | json_sax_dom_parser (const json_sax_dom_parser &)=delete |
- | json_sax_dom_parser (json_sax_dom_parser &&)=default |
-json_sax_dom_parser & | operator= (const json_sax_dom_parser &)=delete |
-json_sax_dom_parser & | operator= (json_sax_dom_parser &&)=default |
-bool | null () |
-bool | boolean (bool val) |
-bool | number_integer (number_integer_t val) |
-bool | number_unsigned (number_unsigned_t val) |
-bool | number_float (number_float_t val, const string_t &) |
-bool | string (string_t &val) |
-bool | binary (binary_t &val) |
-bool | start_object (std::size_t len) |
-bool | key (string_t &val) |
-bool | end_object () |
-bool | start_array (std::size_t len) |
-bool | end_array () |
-template<class Exception > | |
bool | parse_error (std::size_t, const std::string &, const Exception &ex) |
-constexpr bool | is_errored () const |
SAX implementation to create a JSON value from SAX events.
-This class implements the json_sax interface and processes the SAX events to create a JSON value which makes it basically a DOM parser. The structure or hierarchy of the JSON value is managed by the stack ref_stack
which contains a pointer to the respective array or object for each recursion depth.
After successful parsing, the value that is passed by reference to the constructor contains the parsed value.
-BasicJsonType | the JSON type |
-
|
- -inlineexplicit | -
[in,out] | r | reference to a JSON value that is manipulated while parsing |
[in] | allow_exceptions_ | whether parse errors yield exceptions |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::json_sax_dom_parser< BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
lexical analysis - More...
- -#include <json.hpp>
-Public Types | |
-using | token_type = typename lexer_base<BasicJsonType>::token_type |
Public Types inherited from detail::lexer_base< BasicJsonType > | |
enum class | token_type { - uninitialized -, literal_true -, literal_false -, literal_null -, - value_string -, value_unsigned -, value_integer -, value_float -, - begin_array -, begin_object -, end_array -, end_object -, - name_separator -, value_separator -, parse_error -, end_of_input -, - literal_or_value - - } |
token types for the parser More... | |
-Public Member Functions | |
- | lexer (InputAdapterType &&adapter, bool ignore_comments_=false) noexcept |
- | lexer (const lexer &)=delete |
- | lexer (lexer &&)=default |
-lexer & | operator= (lexer &)=delete |
-lexer & | operator= (lexer &&)=default |
-constexpr number_integer_t | get_number_integer () const noexcept |
return integer value | |
-constexpr number_unsigned_t | get_number_unsigned () const noexcept |
return unsigned integer value | |
-constexpr number_float_t | get_number_float () const noexcept |
return floating-point value | |
-string_t & | get_string () |
return current string value (implicitly resets the token; useful only once) | |
-constexpr position_t | get_position () const noexcept |
return position of last read token | |
std::string | get_token_string () const |
-JSON_HEDLEY_RETURNS_NON_NULL constexpr const char * | get_error_message () const noexcept |
return syntax error message | |
bool | skip_bom () |
skip the UTF-8 byte order mark | |
-void | skip_whitespace () |
-token_type | scan () |
-Additional Inherited Members | |
Static Public Member Functions inherited from detail::lexer_base< BasicJsonType > | |
-JSON_HEDLEY_RETURNS_NON_NULL static JSON_HEDLEY_CONST const char * | token_type_name (const token_type t) noexcept |
return name of values of type token_type (only used for errors) | |
lexical analysis
-This class organizes the lexical analysis during JSON deserialization.
-
-
|
- -inline | -
return the last read token (for errors only). Will never contain EOF (an arbitrary value that is not a valid char value, often -1), because 255 may legitimately occur. May contain NUL, which should be escaped.
- -
-
|
- -inline | -
skip the UTF-8 byte order mark
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::lexer< BasicJsonType, InputAdapterType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum class | token_type { - uninitialized -, literal_true -, literal_false -, literal_null -, - value_string -, value_unsigned -, value_integer -, value_float -, - begin_array -, begin_object -, end_array -, end_object -, - name_separator -, value_separator -, parse_error -, end_of_input -, - literal_or_value - - } |
token types for the parser More... | |
-Static Public Member Functions | |
-JSON_HEDLEY_RETURNS_NON_NULL static JSON_HEDLEY_CONST const char * | token_type_name (const token_type t) noexcept |
return name of values of type token_type (only used for errors) | |
-
|
- -strong | -
token types for the parser
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::lexer_base< BasicJsonType >, including all inherited members.
-token_type enum name | detail::lexer_base< BasicJsonType > | |
token_type_name(const token_type t) noexcept | detail::lexer_base< BasicJsonType > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
exception indicating other library errors - More...
- -#include <json.hpp>
-Static Public Member Functions | |
-template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0> | |
static other_error | create (int id_, const std::string &what_arg, BasicJsonContext context) |
-Additional Inherited Members | |
Public Member Functions inherited from detail::exception | |
-const char * | what () const noexcept override |
returns the explanatory string | |
Public Attributes inherited from detail::exception | |
-const int | id |
the id of the exception | |
Protected Member Functions inherited from detail::exception | |
- | exception (int id_, const char *what_arg) |
Static Protected Member Functions inherited from detail::exception | |
-static std::string | name (const std::string &ename, int id_) |
-static std::string | diagnostics (std::nullptr_t) |
-template<typename BasicJsonType > | |
static std::string | diagnostics (const BasicJsonType *leaf_element) |
exception indicating other library errors
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::other_error, including all inherited members.
-create(int id_, const std::string &what_arg, BasicJsonContext context) (defined in detail::other_error) | detail::other_error | inlinestatic |
diagnostics(std::nullptr_t) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
diagnostics(const BasicJsonType *leaf_element) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
exception(int id_, const char *what_arg) (defined in detail::exception) | detail::exception | inlineprotected |
id | detail::exception | |
name(const std::string &ename, int id_) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
what() const noexcept override | detail::exception | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
exception indicating access out of the defined range - More...
- -#include <json.hpp>
-Static Public Member Functions | |
-template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0> | |
static out_of_range | create (int id_, const std::string &what_arg, BasicJsonContext context) |
-Additional Inherited Members | |
Public Member Functions inherited from detail::exception | |
-const char * | what () const noexcept override |
returns the explanatory string | |
Public Attributes inherited from detail::exception | |
-const int | id |
the id of the exception | |
Protected Member Functions inherited from detail::exception | |
- | exception (int id_, const char *what_arg) |
Static Protected Member Functions inherited from detail::exception | |
-static std::string | name (const std::string &ename, int id_) |
-static std::string | diagnostics (std::nullptr_t) |
-template<typename BasicJsonType > | |
static std::string | diagnostics (const BasicJsonType *leaf_element) |
exception indicating access out of the defined range
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::out_of_range, including all inherited members.
-create(int id_, const std::string &what_arg, BasicJsonContext context) (defined in detail::out_of_range) | detail::out_of_range | inlinestatic |
diagnostics(std::nullptr_t) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
diagnostics(const BasicJsonType *leaf_element) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
exception(int id_, const char *what_arg) (defined in detail::exception) | detail::exception | inlineprotected |
id | detail::exception | |
name(const std::string &ename, int id_) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
what() const noexcept override | detail::exception | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename AllocatorType = std::allocator<CharType>> | |
output_adapter (std::vector< CharType, AllocatorType > &vec) | |
- | output_adapter (std::basic_ostream< CharType > &s) |
- | output_adapter (StringType &s) |
- | operator output_adapter_t< CharType > () |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::output_adapter< CharType, StringType >, including all inherited members.
-operator output_adapter_t< CharType >() (defined in detail::output_adapter< CharType, StringType >) | detail::output_adapter< CharType, StringType > | inline |
output_adapter(std::vector< CharType, AllocatorType > &vec) (defined in detail::output_adapter< CharType, StringType >) | detail::output_adapter< CharType, StringType > | inline |
output_adapter(std::basic_ostream< CharType > &s) (defined in detail::output_adapter< CharType, StringType >) | detail::output_adapter< CharType, StringType > | inline |
output_adapter(StringType &s) (defined in detail::output_adapter< CharType, StringType >) | detail::output_adapter< CharType, StringType > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
output adapter for output streams - More...
- -#include <json.hpp>
-Public Member Functions | |
- | output_stream_adapter (std::basic_ostream< CharType > &s) noexcept |
void | write_character (CharType c) override |
void | write_characters (const CharType *s, std::size_t length) override |
Public Member Functions inherited from detail::output_adapter_protocol< CharType > | |
- | output_adapter_protocol (const output_adapter_protocol &)=default |
- | output_adapter_protocol (output_adapter_protocol &&) noexcept=default |
-output_adapter_protocol & | operator= (const output_adapter_protocol &)=default |
-output_adapter_protocol & | operator= (output_adapter_protocol &&) noexcept=default |
output adapter for output streams
-
-
|
- -inlineoverridevirtual | -
Implements detail::output_adapter_protocol< CharType >.
- -
-
|
- -inlineoverridevirtual | -
Implements detail::output_adapter_protocol< CharType >.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::output_stream_adapter< CharType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
output adapter for basic_string - More...
- -#include <json.hpp>
-Public Member Functions | |
- | output_string_adapter (StringType &s) noexcept |
void | write_character (CharType c) override |
void | write_characters (const CharType *s, std::size_t length) override |
Public Member Functions inherited from detail::output_adapter_protocol< CharType > | |
- | output_adapter_protocol (const output_adapter_protocol &)=default |
- | output_adapter_protocol (output_adapter_protocol &&) noexcept=default |
-output_adapter_protocol & | operator= (const output_adapter_protocol &)=default |
-output_adapter_protocol & | operator= (output_adapter_protocol &&) noexcept=default |
output adapter for basic_string
-
-
|
- -inlineoverridevirtual | -
Implements detail::output_adapter_protocol< CharType >.
- -
-
|
- -inlineoverridevirtual | -
Implements detail::output_adapter_protocol< CharType >.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::output_string_adapter< CharType, StringType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
output adapter for byte vectors - More...
- -#include <json.hpp>
-Public Member Functions | |
- | output_vector_adapter (std::vector< CharType, AllocatorType > &vec) noexcept |
void | write_character (CharType c) override |
void | write_characters (const CharType *s, std::size_t length) override |
Public Member Functions inherited from detail::output_adapter_protocol< CharType > | |
- | output_adapter_protocol (const output_adapter_protocol &)=default |
- | output_adapter_protocol (output_adapter_protocol &&) noexcept=default |
-output_adapter_protocol & | operator= (const output_adapter_protocol &)=default |
-output_adapter_protocol & | operator= (output_adapter_protocol &&) noexcept=default |
output adapter for byte vectors
-
-
|
- -inlineoverridevirtual | -
Implements detail::output_adapter_protocol< CharType >.
- -
-
|
- -inlineoverridevirtual | -
Implements detail::output_adapter_protocol< CharType >.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::output_vector_adapter< CharType, AllocatorType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
exception indicating a parse error - More...
- -#include <json.hpp>
-Static Public Member Functions | |
template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0> | |
static parse_error | create (int id_, const position_t &pos, const std::string &what_arg, BasicJsonContext context) |
create a parse error exception | |
-template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0> | |
static parse_error | create (int id_, std::size_t byte_, const std::string &what_arg, BasicJsonContext context) |
-Public Attributes | |
const std::size_t | byte |
byte index of the parse error | |
Public Attributes inherited from detail::exception | |
-const int | id |
the id of the exception | |
-Additional Inherited Members | |
Public Member Functions inherited from detail::exception | |
-const char * | what () const noexcept override |
returns the explanatory string | |
Protected Member Functions inherited from detail::exception | |
- | exception (int id_, const char *what_arg) |
Static Protected Member Functions inherited from detail::exception | |
-static std::string | name (const std::string &ename, int id_) |
-static std::string | diagnostics (std::nullptr_t) |
-template<typename BasicJsonType > | |
static std::string | diagnostics (const BasicJsonType *leaf_element) |
exception indicating a parse error
- -
-
|
- -inlinestatic | -
create a parse error exception
-[in] | id_ | the id of the exception |
[in] | pos | the position where the error occurred (or with chars_read_total=0 if the position cannot be determined) |
[in] | what_arg | the explanatory string |
const std::size_t detail::parse_error::byte | -
byte index of the parse error
-The byte index of the last read character in the input file.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::parse_error, including all inherited members.
-byte | detail::parse_error | |
create(int id_, const position_t &pos, const std::string &what_arg, BasicJsonContext context) | detail::parse_error | inlinestatic |
create(int id_, std::size_t byte_, const std::string &what_arg, BasicJsonContext context) (defined in detail::parse_error) | detail::parse_error | inlinestatic |
diagnostics(std::nullptr_t) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
diagnostics(const BasicJsonType *leaf_element) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
exception(int id_, const char *what_arg) (defined in detail::exception) | detail::exception | inlineprotected |
id | detail::exception | |
name(const std::string &ename, int id_) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
what() const noexcept override | detail::exception | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
syntax analysis - More...
- -#include <json.hpp>
-Public Member Functions | |
- | parser (InputAdapterType &&adapter, const parser_callback_t< BasicJsonType > cb=nullptr, const bool allow_exceptions_=true, const bool skip_comments=false) |
a parser reading from an input adapter | |
void | parse (const bool strict, BasicJsonType &result) |
public parser interface | |
bool | accept (const bool strict=true) |
public accept interface | |
-template<typename SAX > | |
bool | sax_parse (SAX *sax, const bool strict=true) |
syntax analysis
-This class implements a recursive descent parser.
-
-
|
- -inline | -
public accept interface
-[in] | strict | whether to expect the last token to be EOF |
-
|
- -inline | -
public parser interface
-[in] | strict | whether to expect the last token to be EOF |
[in,out] | result | parsed JSON value |
parse_error.101 | in case of an unexpected token |
parse_error.102 | if to_unicode fails or surrogate error |
parse_error.103 | if to_unicode fails |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::parser< BasicJsonType, InputAdapterType >, including all inherited members.
-accept(const bool strict=true) | detail::parser< BasicJsonType, InputAdapterType > | inline |
parse(const bool strict, BasicJsonType &result) | detail::parser< BasicJsonType, InputAdapterType > | inline |
parser(InputAdapterType &&adapter, const parser_callback_t< BasicJsonType > cb=nullptr, const bool allow_exceptions_=true, const bool skip_comments=false) | detail::parser< BasicJsonType, InputAdapterType > | inlineexplicit |
sax_parse(SAX *sax, const bool strict=true) (defined in detail::parser< BasicJsonType, InputAdapterType >) | detail::parser< BasicJsonType, InputAdapterType > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-constexpr difference_type | get_value () const noexcept |
-void | set_begin () noexcept |
set iterator to a defined beginning | |
-void | set_end () noexcept |
set iterator to a defined past the end | |
-constexpr bool | is_begin () const noexcept |
return whether the iterator can be dereferenced | |
-constexpr bool | is_end () const noexcept |
return whether the iterator is at end | |
-primitive_iterator_t | operator+ (difference_type n) noexcept |
-primitive_iterator_t & | operator++ () noexcept |
-primitive_iterator_t | operator++ (int) &noexcept |
-primitive_iterator_t & | operator-- () noexcept |
-primitive_iterator_t | operator-- (int) &noexcept |
-primitive_iterator_t & | operator+= (difference_type n) noexcept |
-primitive_iterator_t & | operator-= (difference_type n) noexcept |
-Friends | |
-constexpr bool | operator== (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept |
-constexpr bool | operator< (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept |
-constexpr difference_type | operator- (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::primitive_iterator_t, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
serializer (output_adapter_t< char > s, const char ichar, error_handler_t error_handler_=error_handler_t::strict) | |
- | serializer (const serializer &)=delete |
-serializer & | operator= (const serializer &)=delete |
- | serializer (serializer &&)=delete |
-serializer & | operator= (serializer &&)=delete |
void | dump (const BasicJsonType &val, const bool pretty_print, const bool ensure_ascii, const unsigned int indent_step, const unsigned int current_indent=0) |
internal implementation of the serialization function | |
- | for (std::size_t i=0;i< s.size();++i) |
- | if (JSON_HEDLEY_LIKELY(state==UTF8_ACCEPT)) |
-Public Attributes | |
-JSON_PRIVATE_UNLESS_TESTED | : void dump_escaped(const string_t& s |
JSON_PRIVATE_UNLESS_TESTED const bool | ensure_ascii |
-std::uint8_t | state = UTF8_ACCEPT |
-std::size_t | bytes = 0 |
-std::size_t | bytes_after_last_accept = 0 |
-std::size_t | undumped_chars = 0 |
- | else |
-std::array< char, 64 > | number_buffer {{}} |
a (hopefully) large enough character buffer | |
-const std::lconv * | loc = nullptr |
the locale | |
-const char | thousands_sep = '\0' |
the locale's thousand separator character | |
-const char | decimal_point = '\0' |
the locale's decimal point character | |
-std::array< char, 512 > | string_buffer {{}} |
string buffer | |
-const char | indent_char |
the indentation character | |
-string_t | indent_string |
the indentation string | |
-const error_handler_t | error_handler |
error_handler how to react on decoding errors | |
-
|
- -inline | -
[in] | s | output stream to serialize to |
[in] | ichar | indentation character to use |
[in] | error_handler_ | how to react on decoding errors |
-
|
- -inline | -
internal implementation of the serialization function
-This function is called by the public member function dump and organizes the serialization internally. The indentation level is propagated as additional parameter. In case of arrays and objects, the function is called recursively.
-escape_string()
operator<<
"%g"
format[in] | val | value to serialize |
[in] | pretty_print | whether the output shall be pretty-printed |
[in] | ensure_ascii | If ensure_ascii is true, all non-ASCII characters in the output are escaped with \uXXXX sequences, and the result consists of ASCII characters only. |
[in] | indent_step | the indent level |
[in] | current_indent | the current indent level (only used internally) |
JSON_PRIVATE_UNLESS_TESTED const bool detail::serializer< BasicJsonType >::ensure_ascii | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::serializer< BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value &&std::is_integral< typename std::remove_pointer< CharT >::type >::value &&sizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0> | |
span_input_adapter (CharT b, std::size_t l) | |
-template<class IteratorType , typename std::enable_if< std::is_same< typename iterator_traits< IteratorType >::iterator_category, std::random_access_iterator_tag >::value, int >::type = 0> | |
span_input_adapter (IteratorType first, IteratorType last) | |
-contiguous_bytes_input_adapter && | get () |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::span_input_adapter, including all inherited members.
-get() (defined in detail::span_input_adapter) | detail::span_input_adapter | inline |
span_input_adapter(CharT b, std::size_t l) (defined in detail::span_input_adapter) | detail::span_input_adapter | inline |
span_input_adapter(IteratorType first, IteratorType last) (defined in detail::span_input_adapter) | detail::span_input_adapter | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
exception indicating executing a member function with a wrong type - More...
- -#include <json.hpp>
-Static Public Member Functions | |
-template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0> | |
static type_error | create (int id_, const std::string &what_arg, BasicJsonContext context) |
-Additional Inherited Members | |
Public Member Functions inherited from detail::exception | |
-const char * | what () const noexcept override |
returns the explanatory string | |
Public Attributes inherited from detail::exception | |
-const int | id |
the id of the exception | |
Protected Member Functions inherited from detail::exception | |
- | exception (int id_, const char *what_arg) |
Static Protected Member Functions inherited from detail::exception | |
-static std::string | name (const std::string &ename, int id_) |
-static std::string | diagnostics (std::nullptr_t) |
-template<typename BasicJsonType > | |
static std::string | diagnostics (const BasicJsonType *leaf_element) |
exception indicating executing a member function with a wrong type
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::type_error, including all inherited members.
-create(int id_, const std::string &what_arg, BasicJsonContext context) (defined in detail::type_error) | detail::type_error | inlinestatic |
diagnostics(std::nullptr_t) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
diagnostics(const BasicJsonType *leaf_element) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
exception(int id_, const char *what_arg) (defined in detail::exception) | detail::exception | inlineprotected |
id | detail::exception | |
name(const std::string &ename, int id_) (defined in detail::exception) | detail::exception | inlineprotectedstatic |
what() const noexcept override | detail::exception | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | char_type = char |
-Public Member Functions | |
- | wide_string_input_adapter (BaseInputAdapter base) |
-std::char_traits< char >::int_type | get_character () noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >, including all inherited members.
-char_type typedef (defined in detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >) | detail::wide_string_input_adapter< BaseInputAdapter, WideCharType > | |
get_character() noexcept (defined in detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >) | detail::wide_string_input_adapter< BaseInputAdapter, WideCharType > | inline |
wide_string_input_adapter(BaseInputAdapter base) (defined in detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >) | detail::wide_string_input_adapter< BaseInputAdapter, WideCharType > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
doubly linked list class - More...
- -#include <doubly_linked_list.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
doubly_linked_list (std::vector< T > __elements={}) noexcept | |
doubly_linked_list class constructor | |
doubly_linked_list (const doubly_linked_list &l) | |
copy constructor for the doubly_linked_list class | |
doubly_linked_list & | operator= (const doubly_linked_list &l) |
operator = for doubly linked list class | |
bool | empty () |
empty function. | |
-size_t | size () |
size function. Returns the size of the list. | |
Iterator | begin () |
pointer that points to begin | |
Iterator | end () |
pointer that points to end | |
bool | search (T key) |
search function. | |
void | push_back (T key) |
push_back function. | |
void | push_front (T key) |
push_front function. | |
void | erase (T key) |
erase function. | |
std::vector< T > | elements () |
elements function. | |
-void | reverse () |
reverse function. reverses the linked list. | |
-void | visualize () |
visualize function returns a .dot file that can be previewd with graphviz plugin in vscode | |
-Friends | |
-std::ostream & | operator<< (std::ostream &out, doubly_linked_list< T > &l) |
<< operator for the doubly_linked_list class. | |
doubly linked list class
-
-
|
- -inlineexplicitnoexcept | -
doubly_linked_list class constructor
-__elements | you can provide the constructor with a vector of elements so you dont have to do multiple push backs yourself. |
-
|
- -inlineexplicit | -
copy constructor for the doubly_linked_list class
-l | the list we want to copy |
-
|
- -inline | -
pointer that points to begin
-std::vector< T > doubly_linked_list< T >::elements | -( | -) | -- |
elements function.
-
-
|
- -inline | -
empty function.
-
-
|
- -inline | -
pointer that points to end
-void doubly_linked_list< T >::erase | -( | -T | key | ) | -- |
erase function.
-key | the key to be erased from the list. |
-
|
- -inline | -
operator = for doubly linked list class
-l | the list we want to copy |
void doubly_linked_list< T >::push_back | -( | -T | key | ) | -- |
push_back function.
-key | the key to be pushed back. |
void doubly_linked_list< T >::push_front | -( | -T | key | ) | -- |
push_front function.
-key | the key to be pushed in front. |
bool doubly_linked_list< T >::search | -( | -T | key | ) | -- |
search function.
-key | the key to be searched. |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for doubly_linked_list< T >, including all inherited members.
-begin() | doubly_linked_list< T > | inline |
doubly_linked_list(std::vector< T > __elements={}) noexcept | doubly_linked_list< T > | inlineexplicit |
doubly_linked_list(const doubly_linked_list &l) | doubly_linked_list< T > | inlineexplicit |
elements() | doubly_linked_list< T > | |
empty() | doubly_linked_list< T > | inline |
end() | doubly_linked_list< T > | inline |
erase(T key) | doubly_linked_list< T > | |
operator<< | doubly_linked_list< T > | friend |
operator=(const doubly_linked_list &l) | doubly_linked_list< T > | inline |
push_back(T key) | doubly_linked_list< T > | |
push_front(T key) | doubly_linked_list< T > | |
reverse() | doubly_linked_list< T > | |
search(T key) | doubly_linked_list< T > | |
size() | doubly_linked_list< T > | inline |
visualize() | doubly_linked_list< T > |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for doubly_linked_list< T >::Iterator, including all inherited members.
-Iterator(const std::shared_ptr< node > &l) noexcept | doubly_linked_list< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | doubly_linked_list< T >::Iterator | inline |
operator*() | doubly_linked_list< T >::Iterator | inline |
operator++() | doubly_linked_list< T >::Iterator | inline |
operator++(int) | doubly_linked_list< T >::Iterator | inline |
operator--() | doubly_linked_list< T >::Iterator | inline |
operator--(int) | doubly_linked_list< T >::Iterator | inline |
operator=(std::shared_ptr< node > current) | doubly_linked_list< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
disjoint set class - More...
- -#include <disjoint_set.h>
-Public Member Functions | |
dsu (int64_t n) | |
Construct a new dsu object. | |
int64_t | find (int64_t i) |
find function | |
void | join (int64_t i, int64_t j) |
join function | |
bool | same (int64_t i, int64_t j) |
-std::vector< int64_t > | get (int64_t i) |
int64_t | size (int64_t i) |
size function | |
int64_t | get_max (int64_t i) |
get the maximum element of the set that i exists in | |
int64_t | get_min (int64_t i) |
get the minimum element of the set that i exists in | |
disjoint set class
-
-
|
- -inlineexplicit | -
Construct a new dsu object.
-n | number of elements |
-
|
- -inline | -
find function
-i | the element we want to search |
-
|
- -inline | -
get the maximum element of the set that i exists in
-i | the object that we want to search for |
-
|
- -inline | -
get the minimum element of the set that i exists in
-i | the object that we want to search for |
-
|
- -inline | -
join function
-i | first element |
j | second element union of i and j |
-
|
- -inline | -
i | first element |
j | second element |
-
|
- -inline | -
size function
-i | element we are looking for |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for dsu, including all inherited members.
-dsu(int64_t n) | dsu | inlineexplicit |
find(int64_t i) | dsu | inline |
get(int64_t i) (defined in dsu) | dsu | inline |
get_max(int64_t i) | dsu | inline |
get_min(int64_t i) | dsu | inline |
join(int64_t i, int64_t j) | dsu | inline |
same(int64_t i, int64_t j) | dsu | inline |
size(int64_t i) | dsu | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
Self-learning Frequency List that maintains a list of elements in descending order of their frequency. - More...
- -#include <frequency_list.h>
-Classes | |
class | Iterator |
-Public Member Functions | |
frequency_list (std::vector< T > data={}) noexcept | |
Constructs a frequency_list object with an optional initializer list of elements. | |
frequency_list (const frequency_list< T > &list) | |
Copy constructor for the frequency_list class. | |
void | push_back (T data) |
Adds an element to the back of the frequency list. | |
void | push_front (T data) |
Adds an element to the front of the frequency list. | |
bool | search (T key) |
Searches for a given key in the frequency list. | |
int64_t | get_frequency (T key) |
Gets the frequency of a key in the frequency list. | |
void | erase (T key) |
Removes the first occurrence of a given key in the frequency list. | |
-void | reset_frequency () |
Resets the frequency of all nodes in the frequency list to 1. | |
std::vector< std::pair< T, int64_t > > | elements () |
Returns all the elements of the list. | |
bool | empty () |
Checks if the frequency list is empty. | |
Iterator | begin () |
Get an iterator pointing to the beginning of the frequency list. | |
Iterator | end () |
Get an iterator pointing to the end of the frequency list. | |
-void | visualize () |
visualize function for frequency_list Class returns a .dot file that can be previewd with graphviz plugin in vscode | |
-Friends | |
std::ostream & | operator<< (std::ostream &os, const frequency_list< T > &flist) |
Overloaded output stream insertion operator for the frequency_list class. | |
Self-learning Frequency List that maintains a list of elements in descending order of their frequency.
-@template typename T
-The frequency_list is a container that maintains a list of elements and their frequencies. Each element is stored in a node along with the count of the number of times it occurs in the list. The frequency_list is useful when it is important to keep track of the number of times an item appears in the list.
-This class should be used for, for example, tracking user choices, making them more accessible for the user in the future, improving their experience.
-
-
|
- -inlineexplicitnoexcept | -
Constructs a frequency_list object with an optional initializer list of elements.
-The frequency_list object is constructed with an optional initializer list of elements. If the initializer list is not empty, the elements are added to the frequency_list in the same order as they appear in the vector.
-T | The type of elements stored in the frequency_list. |
data | An optional initializer list of elements. |
-
|
- -inline | -
Copy constructor for the frequency_list class.
-This constructor creates a new frequency_list object by copying the elements from another frequency_list object. The elements are copied in the same order as they appear in the original frequency_list object.
-list | The frequency_list object to copy from. |
-
|
- -inline | -
std::vector< std::pair< T, int64_t > > frequency_list< T >::elements | -( | -) | -- |
Returns all the elements of the list.
-
-
|
- -inline | -
Checks if the frequency list is empty.
-
-
|
- -inline | -
Get an iterator pointing to the end of the frequency list.
-The end iterator is used to indicate the position after the last element of the frequency list, and can be used to determine when the end of the frequency list has been reached while iterating.
-void frequency_list< T >::erase | -( | -T | key | ) | -- |
Removes the first occurrence of a given key in the frequency list.
-If the key is found, it removes the corresponding node and updates the pointers. If the head node is the one to be removed, the head pointer is updated accordingly. If the node has a previous and/or next node, their pointers are updated to connect them together.
-key | The key to be removed from the frequency list. |
int64_t frequency_list< T >::get_frequency | -( | -T | key | ) | -- |
Gets the frequency of a key in the frequency list.
-key | The key to get the frequency of. |
void frequency_list< T >::push_back | -( | -T | data | ) | -- |
Adds an element to the back of the frequency list.
-This function adds an element to the back of the frequency list. If the frequency list is empty, it creates a new node with the given data and frequency of 1 and sets it as the head. If the element already exists in the frequency list, it increments its frequency. Otherwise, it creates a new node with the given data and frequency of 1, and appends it to the end of the frequency list.
-data | The data to be added to the frequency list. |
void frequency_list< T >::push_front | -( | -T | data | ) | -- |
Adds an element to the front of the frequency list.
-If the frequency list is not empty, it updates the previous pointer of the current head node to the new node. Then it sets the new node as the new head of the frequency list.
-data | The data to be added to the frequency list. |
bool frequency_list< T >::search | -( | -T | key | ) | -- |
Searches for a given key in the frequency list.
-This function searches for a given key in the frequency list. If the key is found, it increments the frequency of the corresponding node and returns true. If the key is not found, it returns false.
-key | The key to search for in the frequency list. |
-
|
- -friend | -
Overloaded output stream insertion operator for the frequency_list class.
-This operator allows the frequency_list object to be printed to the output stream. It iterates through the frequency_list and outputs each element along with its frequency in the format: element(frequency)
-os | The output stream to write to. |
flist | The frequency_list object to be printed. |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for frequency_list< T >, including all inherited members.
-begin() | frequency_list< T > | inline |
elements() | frequency_list< T > | |
empty() | frequency_list< T > | inline |
end() | frequency_list< T > | inline |
erase(T key) | frequency_list< T > | |
frequency_list(std::vector< T > data={}) noexcept | frequency_list< T > | inlineexplicit |
frequency_list(const frequency_list< T > &list) | frequency_list< T > | inline |
get_frequency(T key) | frequency_list< T > | |
operator<< | frequency_list< T > | friend |
push_back(T data) | frequency_list< T > | |
push_front(T data) | frequency_list< T > | |
reset_frequency() | frequency_list< T > | |
search(T key) | frequency_list< T > | |
visualize() | frequency_list< T > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
Iterator (const std::shared_ptr< node > &ptr) noexcept | |
Iterator class for a linked list. | |
Iterator & | operator= (const std::shared_ptr< node > &ptr) |
Assignment operator for the Iterator class. | |
Iterator & | operator++ () |
Pre-increment operator for the Iterator class. | |
Iterator | operator++ (int) |
Post-increment operator for the Iterator class. | |
Iterator & | operator-- () |
Pre-increment – operator for the Iterator class. This operator overloads the pre-increment operator (–). It increments the iterator to the next node and returns a reference to the updated iterator. | |
Iterator | operator-- (int) |
Post-increment –operator for the Iterator class. This operator overloads the post-increment operator (–). It increments the iterator to the next node and returns a copy of the iterator before the increment. | |
bool | operator== (const Iterator &it) |
Equality operator for the Iterator class. | |
bool | operator!= (const Iterator &it) |
Inequality operator for the Iterator class. | |
T | operator* () |
Dereference operator for the Iterator class. | |
-
|
- -inlineexplicitnoexcept | -
-
|
- -inline | -
-
|
- -inline | -
Dereference operator for the Iterator class.
-
-
|
- -inline | -
Pre-increment operator for the Iterator class.
-This operator overloads the pre-increment operator (++). It increments the iterator to the next node and returns a reference to the updated iterator.
-
-
|
- -inline | -
Post-increment operator for the Iterator class.
-This operator overloads the post-increment operator (++). It increments the iterator to the next node and returns a copy of the iterator before the increment.
-
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
Assignment operator for the Iterator class.
-It assigns the value of the given shared pointer to the current node of the iterator and returns a reference to the updated iterator.
-ptr | The shared pointer to assign. |
-
|
- -inline | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for frequency_list< T >::Iterator, including all inherited members.
-Iterator(const std::shared_ptr< node > &ptr) noexcept | frequency_list< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | frequency_list< T >::Iterator | inline |
operator*() | frequency_list< T >::Iterator | inline |
operator++() | frequency_list< T >::Iterator | inline |
operator++(int) | frequency_list< T >::Iterator | inline |
operator--() | frequency_list< T >::Iterator | inline |
operator--(int) | frequency_list< T >::Iterator | inline |
operator=(const std::shared_ptr< node > &ptr) | frequency_list< T >::Iterator | inline |
operator==(const Iterator &it) | frequency_list< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
Class for Unweighted Graph. - More...
- -#include <graph.h>
-Public Member Functions | |
graph (std::string __type, std::vector< std::pair< T, std::vector< T > > > __adj={}) | |
Constructor for the unweighted graph. | |
graph (const graph &g) | |
Construct a new graph object. | |
graph & | operator= (const graph &g) |
operator = for the graph class | |
- | ~graph () |
Destroy the graph object. | |
void | add_edge (T u, T v) |
add_edge function | |
bool | has_edge (T start, T end) |
has_edge function. | |
-void | clear () |
clear function Clearing the entire graph. | |
-bool | empty () |
empty function Checks if a graph is empty. | |
size_t | size () |
size function | |
std::vector< T > | dfs (T start) |
dfs function | |
std::vector< T > | bfs (T start) |
bfs function | |
int64_t | connected_components () |
connected_components function. | |
bool | cycle () |
cycle function. | |
std::vector< T > | topological_sort () |
topological_sort function. | |
bool | bipartite () |
bipartite function. | |
std::vector< std::vector< T > > | bridge (T start) |
bridge function. | |
int64_t | scc () |
scc(strongly connected components) function. | |
bool | connected () |
connected function. | |
int | eulerian () |
eulerian function. | |
void | visualize () |
visualize function. | |
-Friends | |
std::ostream & | operator<< (std::ostream &out, graph< T > &g) |
operator << for the graph class. | |
Class for Unweighted Graph.
-
-
|
- -inline | -
Constructor for the unweighted graph.
-__type | type of the graph, either "directed" or "undirected" |
__adj | vector<pair<T,vector<T>>, you can pass a vector of pairs to construct the graph without doing multiple add_edge. |
-
|
- -inline | -
Construct a new graph object.
-g | the graph we want to copy |
-
|
- -inline | -
add_edge function
-u | first node |
v | second node |
std::vector< T > graph< T >::bfs | -( | -T | start | ) | -- |
bfs function
-start | starting node of the bfs. |
bool graph< T >::bipartite | -( | -) | -- |
bipartite function.
-std::vector< std::vector< T > > graph< T >::bridge | -( | -T | start | ) | -- |
bridge function.
-start | starting point of search for the bridges. |
bool graph< T >::connected | -( | -) | -- |
connected function.
-int64_t graph< T >::connected_components | -( | -) | -- |
connected_components function.
-bool graph< T >::cycle | -( | -) | -- |
cycle function.
-std::vector< T > graph< T >::dfs | -( | -T | start | ) | -- |
dfs function
-start | starting node of the dfs. |
int graph< T >::eulerian | -( | -) | -- |
eulerian function.
-
-
|
- -inline | -
has_edge function.
-start | starting node. |
end | ending node. |
-
|
- -inline | -
operator = for the graph class
-g | the graph we want to copy |
int64_t graph< T >::scc | -( | -) | -- |
scc(strongly connected components) function.
-size_t graph< T >::size | -( | -) | -- |
size function
-std::vector< T > graph< T >::topological_sort | -( | -) | -- |
topological_sort function.
-void graph< T >::visualize | -( | -) | -- |
visualize function.
-
-
|
- -friend | -
operator << for the graph class.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for graph< T >, including all inherited members.
-add_edge(T u, T v) | graph< T > | inline |
bfs(T start) | graph< T > | |
bipartite() | graph< T > | |
bridge(T start) | graph< T > | |
clear() | graph< T > | inline |
connected() | graph< T > | |
connected_components() | graph< T > | |
cycle() | graph< T > | |
dfs(T start) | graph< T > | |
empty() | graph< T > | inline |
eulerian() | graph< T > | |
graph(std::string __type, std::vector< std::pair< T, std::vector< T > > > __adj={}) | graph< T > | inline |
graph(const graph &g) | graph< T > | inline |
has_edge(T start, T end) | graph< T > | inline |
operator<< | graph< T > | friend |
operator=(const graph &g) | graph< T > | inline |
scc() | graph< T > | |
size() | graph< T > | |
topological_sort() | graph< T > | |
visualize() | graph< T > | |
~graph() | graph< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for hash_table< KeyType, ValueType >, including all inherited members.
-begin() (defined in hash_table< KeyType, ValueType >) | hash_table< KeyType, ValueType > | inline |
end() (defined in hash_table< KeyType, ValueType >) | hash_table< KeyType, ValueType > | inline |
hash_table(std::vector< std::pair< KeyType, ValueType > > v={}) | hash_table< KeyType, ValueType > | inline |
hash_table(const hash_table &h) | hash_table< KeyType, ValueType > | inline |
insert(const KeyType &key, const ValueType &value) | hash_table< KeyType, ValueType > | inline |
operator<< | hash_table< KeyType, ValueType > | friend |
operator=(const hash_table &h) | hash_table< KeyType, ValueType > | inline |
remove(const KeyType &key) | hash_table< KeyType, ValueType > | inline |
retrieve(const KeyType &key) | hash_table< KeyType, ValueType > | inline |
~hash_table() | hash_table< KeyType, ValueType > | inline |
This is the complete list of members for hash_table< KeyType, ValueType >, including all inherited members.
+Public Types | |
+using | BucketType = std::unordered_map<size_t, std::list<std::pair<KeyType, ValueType>>> |
Public Member Functions | |||||||||
hash_table (std::vector< std::pair< KeyType, ValueType > > v={}) |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <hash_table.h>
-Public Member Functions | |
Iterator (const std::unordered_map< size_t, std::list< std::pair< KeyType, ValueType > > > &bucket, int64_t __index) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (const std::unordered_map< size_t, std::list< std::pair< KeyType, ValueType > > > &bucket) |
operator = for hash table iterator class | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
Iterator & | operator-- () |
operator – for type Iterator | |
Iterator | operator-- (int) |
operator – for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for Type Iterator | |
std::list< std::pair< KeyType, ValueType > > | operator* () |
operator * for Type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-bucket | the bucket list |
-
|
- -inline | -
operator != for Type Iterator
-it | the iterator we want to make the check |
-
|
- -inline | -
operator * for Type Iterator
-
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
operator = for hash table iterator class
-bucket | the bucket list |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for hash_table< KeyType, ValueType >::Iterator, including all inherited members.
-Iterator(const std::unordered_map< size_t, std::list< std::pair< KeyType, ValueType > > > &bucket, int64_t __index) noexcept | hash_table< KeyType, ValueType >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | hash_table< KeyType, ValueType >::Iterator | inline |
operator*() | hash_table< KeyType, ValueType >::Iterator | inline |
operator++() | hash_table< KeyType, ValueType >::Iterator | inline |
operator++(int) | hash_table< KeyType, ValueType >::Iterator | inline |
operator--() | hash_table< KeyType, ValueType >::Iterator | inline |
operator--(int) | hash_table< KeyType, ValueType >::Iterator | inline |
operator=(const std::unordered_map< size_t, std::list< std::pair< KeyType, ValueType > > > &bucket) | hash_table< KeyType, ValueType >::Iterator | inline |
This is the complete list of members for hash_table< KeyType, ValueType >::Iterator, including all inherited members.
Iterator(const std::unordered_map< size_t, std::list< std::pair< KeyType, ValueType > > > &bucket, int64_t __index) noexcept | hash_table< KeyType, ValueType >::Iterator | inlineexplicit | |||
operator!=(const Iterator &it) | hash_table< KeyType, ValueType >::Iterator | inline | |||
operator*() | hash_table< KeyType, ValueType >::Iterator | inline | |||
Iterator(BucketIterator start, BucketIterator end) | hash_table< KeyType, ValueType >::Iterator | inlineexplicit | |||
operator!=(const Iterator &it) const | hash_table< KeyType, ValueType >::Iterator | inline | |||
operator*() | hash_table< KeyType, ValueType >::Iterator | inline | |||
operator++() | hash_table< KeyType, ValueType >::Iterator | inline | |||
operator++(int) | hash_table< KeyType, ValueType >::Iterator | inline | |||
operator--() | hash_table< KeyType, ValueType >::Iterator | inline |
Public Member Functions | |
Iterator (const std::unordered_map< size_t, std::list< std::pair< KeyType, ValueType > > > &bucket, int64_t __index) noexcept | |
Construct a new Iterator object. | |
Iterator (BucketIterator start, BucketIterator end) | |
Construct a new Iterator object. | |
Iterator & | operator= (const std::unordered_map< size_t, std::list< std::pair< KeyType, ValueType > > > &bucket) |
operator = for hash table iterator class | |
Iterator | operator-- (int) |
operator – for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for Type Iterator | |
std::list< std::pair< KeyType, ValueType > > | operator* () |
operator * for Type Iterator | |
bool | operator!= (const Iterator &it) const |
operator != for Type Iterator | |
std::pair< KeyType, ValueType > & | operator* () |
operator * for Type Iterator | |
Iterator class.
std::list< std::pair< KeyType, ValueType > > hash_table< KeyType, ValueType >::Iterator::operator* | +std::pair< KeyType, ValueType > & hash_table< KeyType, ValueType >::Iterator::operator* | ( | ) | diff --git a/docs/html/classhill__climbing 2.html b/docs/html/classhill__climbing 2.html deleted file mode 100644 index 4411e90c..00000000 --- a/docs/html/classhill__climbing 2.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - - - |
- |
- AlgoPlus v0.1.0
-
- |
-
hill climbing class - More...
- -#include <hill_climbing.h>
-Public Member Functions | |
hill_climbing (std::unordered_map< T, std::vector< std::pair< T, double > > > v={}) | |
hill_climbing constructor | |
void | insert_node (T u, double val) |
insert_node function | |
bool | has_edge (T u, T v) |
has_edge function | |
void | add_edge (T u, T v) |
add_edge function | |
bool | search (T start, T end) |
search function | |
hill climbing class
-
-
|
- -inlineexplicit | -
hill_climbing constructor
-v | unordered_map<T, pair<T, int64_t> > initializer vector. Default = {} |
-
|
- -inline | -
add_edge function
-u | the first node |
v | the second node |
-
|
- -inline | -
has_edge function
-u | the first node |
v | the second node |
-
|
- -inline | -
insert_node function
-u | the node ID |
val | the heuristic value of node u |
-
|
- -inline | -
search function
-start | starting node |
end | end node |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for hill_climbing< T >, including all inherited members.
-add_edge(T u, T v) | hill_climbing< T > | inline |
has_edge(T u, T v) | hill_climbing< T > | inline |
hill_climbing(std::unordered_map< T, std::vector< std::pair< T, double > > > v={}) | hill_climbing< T > | inlineexplicit |
insert_node(T u, double val) | hill_climbing< T > | inline |
search(T start, T end) | hill_climbing< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | huffman (std::vector< T > v={}, int64_t MAX_DEPTH=10) |
-void | compute_weights () |
-void | run () |
-std::string | decode (char c) |
-void | levels () |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for huffman< T >, including all inherited members.
-compute_weights() (defined in huffman< T >) | huffman< T > | inline |
decode(char c) (defined in huffman< T >) | huffman< T > | inline |
huffman(std::vector< T > v={}, int64_t MAX_DEPTH=10) (defined in huffman< T >) | huffman< T > | inlineexplicit |
levels() (defined in huffman< T >) | huffman< T > | inline |
run() (defined in huffman< T >) | huffman< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
interval tree class - More...
- -#include <interval_tree.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
interval_tree (std::vector< std::pair< T, T > > v={}) | |
Construct a new interval tree object. | |
interval_tree (const interval_tree &i) | |
Copy constructor for interval tree class. | |
interval_tree & | operator= (const interval_tree &i) |
operator = for interval tree class | |
-void | clear () |
clear function | |
void | insert (std::pair< T, T > p) |
insert function. | |
bool | search (std::pair< T, T > p) |
search function. | |
void | remove (std::pair< T, T > p) |
remove function. | |
bool | overlap (std::pair< T, T > p1, std::pair< T, T > p2) |
overlap function. | |
Iterator | begin () |
pointer that points to begin | |
Iterator | end () |
pointer that points to end | |
size_t | size () |
size function | |
std::vector< std::pair< T, T > > | inorder () |
inorder function. | |
std::vector< std::pair< T, T > > | preorder () |
preorder function. | |
std::vector< std::pair< T, T > > | postorder () |
postorder function. | |
-void | visualize () |
-Friends | |
-std::ostream & | operator<< (std::ostream &out, interval_tree< T > &t) |
<< operator for interval_tree class. | |
interval tree class
-
-
|
- -inline | -
Construct a new interval tree object.
-v | : vector<pair<T,T>> initializer |
-
|
- -inlineexplicit | -
Copy constructor for interval tree class.
-i | the tree we want to copy |
-
|
- -inline | -
pointer that points to begin
-
-
|
- -inline | -
pointer that points to end
-
-
|
- -inline | -
inorder function.
-
-
|
- -inline | -
insert function.
-p | interval to be inserted. |
-
|
- -inline | -
operator = for interval tree class
-i | the tree we want to copy |
-
|
- -inline | -
overlap function.
-p1 | first interval. |
p2 | second interval. |
-
|
- -inline | -
postorder function.
-
-
|
- -inline | -
preorder function.
-
-
|
- -inline | -
remove function.
-p | interval to be removed. |
-
|
- -inline | -
search function.
-
-
|
- -inline | -
size function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for interval_tree< T >, including all inherited members.
-begin() | interval_tree< T > | inline |
clear() | interval_tree< T > | inline |
end() | interval_tree< T > | inline |
inorder() | interval_tree< T > | inline |
insert(std::pair< T, T > p) | interval_tree< T > | inline |
interval_tree(std::vector< std::pair< T, T > > v={}) | interval_tree< T > | inline |
interval_tree(const interval_tree &i) | interval_tree< T > | inlineexplicit |
operator<< | interval_tree< T > | friend |
operator=(const interval_tree &i) | interval_tree< T > | inline |
overlap(std::pair< T, T > p1, std::pair< T, T > p2) | interval_tree< T > | inline |
postorder() | interval_tree< T > | inline |
preorder() | interval_tree< T > | inline |
remove(std::pair< T, T > p) | interval_tree< T > | inline |
search(std::pair< T, T > p) | interval_tree< T > | inline |
size() | interval_tree< T > | inline |
visualize() (defined in interval_tree< T >) | interval_tree< T > | inline |
~interval_tree() (defined in interval_tree< T >) | interval_tree< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <interval_tree.h>
-Public Member Functions | |
Iterator (const int64_t &index, std::vector< std::pair< T, T > > &els) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (int64_t index) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
Iterator & | operator-- () |
operator – for type Iterator | |
Iterator | operator-- (int) |
operator – for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
std::pair< T, T > | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-els | vector<pair<T,T>> - the elements in inorder fashion |
-
|
- -inline | -
-
|
- -inline | -
operator * for type Iterator
-
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for interval_tree< T >::Iterator, including all inherited members.
-Iterator(const int64_t &index, std::vector< std::pair< T, T > > &els) noexcept | interval_tree< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | interval_tree< T >::Iterator | inline |
operator*() | interval_tree< T >::Iterator | inline |
operator++() | interval_tree< T >::Iterator | inline |
operator++(int) | interval_tree< T >::Iterator | inline |
operator--() | interval_tree< T >::Iterator | inline |
operator--(int) | interval_tree< T >::Iterator | inline |
operator=(int64_t index) | interval_tree< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
JSON Pointer defines a string syntax for identifying a specific value within a JSON document. - More...
- -#include <json.hpp>
-Public Types | |
-using | string_t = typename string_t_helper<RefStringType>::type |
-Public Member Functions | |
json_pointer (const string_t &s="") | |
create JSON pointer | |
string_t | to_string () const |
return a string representation of the JSON pointer | |
operator string_t () const | |
return a string representation of the JSON pointer | |
json_pointer & | operator/= (const json_pointer &ptr) |
append another JSON pointer at the end of this JSON pointer | |
json_pointer & | operator/= (string_t token) |
append an unescaped reference token at the end of this JSON pointer | |
json_pointer & | operator/= (std::size_t array_idx) |
append an array index at the end of this JSON pointer | |
json_pointer | parent_pointer () const |
returns the parent of this JSON pointer | |
void | pop_back () |
remove last reference token | |
const string_t & | back () const |
return last reference token | |
void | push_back (const string_t &token) |
append an unescaped token at the end of the reference pointer | |
void | push_back (string_t &&token) |
append an unescaped token at the end of the reference pointer | |
bool | empty () const noexcept |
return whether pointer points to the root document | |
-Friends | |
-class | basic_json |
std::ostream & | operator<< (std::ostream &o, const json_pointer &ptr) |
write string representation of the JSON pointer to stream | |
json_pointer | operator/ (const json_pointer &lhs, const json_pointer &rhs) |
create a new JSON pointer by appending the right JSON pointer at the end of the left JSON pointer | |
json_pointer | operator/ (const json_pointer &lhs, string_t token) |
create a new JSON pointer by appending the unescaped token at the end of the JSON pointer | |
json_pointer | operator/ (const json_pointer &lhs, std::size_t array_idx) |
create a new JSON pointer by appending the array-index-token at the end of the JSON pointer | |
template<typename RefStringTypeLhs , typename RefStringTypeRhs > | |
bool | operator== (const json_pointer< RefStringTypeLhs > &lhs, const json_pointer< RefStringTypeRhs > &rhs) noexcept |
compares two JSON pointers for equality | |
template<typename RefStringTypeLhs , typename StringType > | |
bool | operator== (const json_pointer< RefStringTypeLhs > &lhs, const StringType &rhs) |
compares JSON pointer and string for equality | |
template<typename RefStringTypeRhs , typename StringType > | |
bool | operator== (const StringType &lhs, const json_pointer< RefStringTypeRhs > &rhs) |
compares string and JSON pointer for equality | |
template<typename RefStringTypeLhs , typename RefStringTypeRhs > | |
bool | operator!= (const json_pointer< RefStringTypeLhs > &lhs, const json_pointer< RefStringTypeRhs > &rhs) noexcept |
compares two JSON pointers for inequality | |
template<typename RefStringTypeLhs , typename StringType > | |
bool | operator!= (const json_pointer< RefStringTypeLhs > &lhs, const StringType &rhs) |
compares JSON pointer and string for inequality | |
template<typename RefStringTypeRhs , typename StringType > | |
bool | operator!= (const StringType &lhs, const json_pointer< RefStringTypeRhs > &rhs) |
compares string and JSON pointer for inequality | |
-template<typename RefStringTypeLhs , typename RefStringTypeRhs > | |
bool | operator< (const json_pointer< RefStringTypeLhs > &lhs, const json_pointer< RefStringTypeRhs > &rhs) noexcept |
compares two JSON pointer for less-than | |
JSON Pointer defines a string syntax for identifying a specific value within a JSON document.
- -
-
|
- -inlineexplicit | -
create JSON pointer
- - -
-
|
- -inline | -
return last reference token
- - -
-
|
- -inlinenoexcept | -
return whether pointer points to the root document
- - -
-
|
- -inline | -
return a string representation of the JSON pointer
- - -
-
|
- -inline | -
append another JSON pointer at the end of this JSON pointer
- - -
-
|
- -inline | -
append an array index at the end of this JSON pointer
- - -
-
|
- -inline | -
append an unescaped reference token at the end of this JSON pointer
- - -
-
|
- -inline | -
returns the parent of this JSON pointer
- - -
-
|
- -inline | -
remove last reference token
- - -
-
|
- -inline | -
append an unescaped token at the end of the reference pointer
- - -
-
|
- -inline | -
append an unescaped token at the end of the reference pointer
- - -
-
|
- -inline | -
return a string representation of the JSON pointer
- - -
-
|
- -friend | -
compares two JSON pointers for inequality
- - -
-
|
- -friend | -
compares JSON pointer and string for inequality
- - -
-
|
- -friend | -
compares string and JSON pointer for inequality
- - -
-
|
- -friend | -
create a new JSON pointer by appending the right JSON pointer at the end of the left JSON pointer
- - -
-
|
- -friend | -
create a new JSON pointer by appending the array-index-token at the end of the JSON pointer
- - -
-
|
- -friend | -
create a new JSON pointer by appending the unescaped token at the end of the JSON pointer
- - -
-
|
- -friend | -
write string representation of the JSON pointer to stream
- - -
-
|
- -friend | -
compares two JSON pointers for equality
- - -
-
|
- -friend | -
compares JSON pointer and string for equality
- - -
-
|
- -friend | -
compares string and JSON pointer for equality
- - -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for json_pointer< RefStringType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
#include <kmeans.h>
-Public Member Functions | |
kmeans (std::vector< std::vector< double > > data, int K, int64_t MAX_ITER=1500) | |
Constructor for the kmeans class. | |
- | ~kmeans () |
Destroy the kmeans object. | |
void | assign_to_closest (std::vector< double > &x) |
std::vector< double > | get_centroid (std::vector< std::vector< double > > cluster) |
std::pair< std::vector< std::vector< double > >, std::map< std::vector< double >, int64_t > > | fit () |
-Public Attributes | |
- | data = fill_data() |
-int | CLUSTERS = 3 |
dict | data_dict |
- | json_object = json.dumps(data_dict) |
- | input_name = open("info.json", 'r') |
- | file = json.load(input_name) |
- | centroids = file['centroids'] |
- | assignments = file['assignments'] |
-list | COLORS = ["red", "green", "orange", "blue", "black", "brown", "purple"] |
- | x |
- | y |
- | x_noise |
- | y_noise |
-int | i = 0 |
- | x_centroids |
- | y_centroids |
- | colors |
- | color |
@ brief Class for the kmeans clustering algorithm
-
-
|
- -inline | -
Constructor for the kmeans class.
-data | the input data(2D vector) |
K | the number of clusters |
MAX_ITER | default 500, maximum iterations till it converges |
-
|
- -inline | -
@ brief assign_to_closest function assigns the closest centroid to point x @ param x: the input vector
- -
-
|
- -inline | -
@ brief run function @ return pair<vector<int64_t>, map<int64_t, int> >: the centroids and the assignments of the clustering algorithm
- -
-
|
- -inline | -
@ brief get_centroid function @ param cluster: the input cluster @ return vector<int>: the centroid of the cluster
- -dict kmeans.data_dict | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for kmeans, including all inherited members.
-assign_to_closest(std::vector< double > &x) | kmeans | inline |
assignments (defined in kmeans) | kmeans | |
centroids (defined in kmeans) | kmeans | |
CLUSTERS (defined in kmeans) | kmeans | |
color (defined in kmeans) | kmeans | |
colors (defined in kmeans) | kmeans | |
COLORS (defined in kmeans) | kmeans | |
data (defined in kmeans) | kmeans | |
data_dict (defined in kmeans) | kmeans | |
file (defined in kmeans) | kmeans | |
fit() | kmeans | inline |
get_centroid(std::vector< std::vector< double > > cluster) | kmeans | inline |
i (defined in kmeans) | kmeans | |
input_name (defined in kmeans) | kmeans | |
json_object (defined in kmeans) | kmeans | |
kmeans(std::vector< std::vector< double > > data, int K, int64_t MAX_ITER=1500) | kmeans | inline |
x (defined in kmeans) | kmeans | |
x_centroids (defined in kmeans) | kmeans | |
x_noise (defined in kmeans) | kmeans | |
y (defined in kmeans) | kmeans | |
y_centroids (defined in kmeans) | kmeans | |
y_noise (defined in kmeans) | kmeans | |
~kmeans() | kmeans | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
Class for linear regression algorithm. - More...
- -#include <lin_reg.h>
-Public Member Functions | |
linear_regression (std::vector< std::vector< double > > points) | |
Constructor for linear regression class. | |
std::pair< double, double > | get_results () |
get_results function | |
Class for linear regression algorithm.
-
-
|
- -inlineexplicit | -
Constructor for linear regression class.
-points | 2D points that user pass to the regressor |
-
|
- -inline | -
get_results function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for linear_regression, including all inherited members.
-get_results() | linear_regression | inline |
linear_regression(std::vector< std::vector< double > > points) | linear_regression | inlineexplicit |
- |
- AlgoPlus v0.1.0
-
- |
-
single linked list class - More...
- -#include <linked_list.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
linked_list (std::vector< T > __elements={}) noexcept | |
linked_list class constructor | |
linked_list (const linked_list &l) | |
copy constructor for the linked_list class | |
linked_list & | operator= (const linked_list &l) |
operator = for linked list class | |
-bool | empty () |
empty function. Returns true if the list is empty. | |
-size_t | size () |
size function. Returns the size of the list. | |
Iterator | begin () |
pointer that points to begin | |
Iterator | end () |
pointer that points to end | |
void | push_back (T key) |
push_back function. | |
void | push_front (T key) |
push_front function. | |
void | erase (T key) |
erase function. | |
bool | search (T key) |
search function. | |
std::vector< T > | elements () |
elements function. | |
-void | reverse () |
reverse function. | |
-void | visualize () |
visualize function returns a .dot file that can be previewd with graphviz plugin in vscode | |
-Friends | |
-std::ostream & | operator<< (std::ostream &out, linked_list< T > &l1) |
<< operator for the linked_list class. | |
single linked list class
-
-
|
- -inlineexplicitnoexcept | -
linked_list class constructor
-__elements | you can provide the constructor with a vector of elements so you dont have to do multiple push backs yourself. |
-
|
- -inlineexplicit | -
copy constructor for the linked_list class
-l | the list we want to copy |
-
|
- -inline | -
pointer that points to begin
-std::vector< T > linked_list< T >::elements | -( | -) | -- |
elements function.
-
-
|
- -inline | -
pointer that points to end
-void linked_list< T >::erase | -( | -T | key | ) | -- |
erase function.
-key | the key to be erased. |
-
|
- -inline | -
operator = for linked list class
-l | the list we want to copy |
void linked_list< T >::push_back | -( | -T | key | ) | -- |
push_back function.
-key | the key to be pushed back. |
void linked_list< T >::push_front | -( | -T | key | ) | -- |
push_front function.
-key | the key to be pushed in front. |
bool linked_list< T >::search | -( | -T | key | ) | -- |
search function.
-key | the key to be searched. |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for linked_list< T >, including all inherited members.
-begin() | linked_list< T > | inline |
elements() | linked_list< T > | |
empty() | linked_list< T > | inline |
end() | linked_list< T > | inline |
erase(T key) | linked_list< T > | |
linked_list(std::vector< T > __elements={}) noexcept | linked_list< T > | inlineexplicit |
linked_list(const linked_list &l) | linked_list< T > | inlineexplicit |
operator<< | linked_list< T > | friend |
operator=(const linked_list &l) | linked_list< T > | inline |
push_back(T key) | linked_list< T > | |
push_front(T key) | linked_list< T > | |
reverse() | linked_list< T > | |
search(T key) | linked_list< T > | |
size() | linked_list< T > | inline |
visualize() | linked_list< T > |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <linked_list.h>
-Public Member Functions | |
Iterator (const std::shared_ptr< node > &l) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (std::shared_ptr< node > current) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-l | linked list type |
-
|
- -inline | -
-
|
- -inline | -
operator * for type Iterator
-
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for linked_list< T >::Iterator, including all inherited members.
-Iterator(const std::shared_ptr< node > &l) noexcept | linked_list< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | linked_list< T >::Iterator | inline |
operator*() | linked_list< T >::Iterator | inline |
operator++() | linked_list< T >::Iterator | inline |
operator++(int) | linked_list< T >::Iterator | inline |
operator=(std::shared_ptr< node > current) | linked_list< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::Plot, including all inherited members.
-clear() (defined in matplotlibcpp::Plot) | matplotlibcpp::Plot | inline |
Plot(const std::string &name, const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::string &format="") (defined in matplotlibcpp::Plot) | matplotlibcpp::Plot | inline |
Plot(const std::string &name="", const std::string &format="") (defined in matplotlibcpp::Plot) | matplotlibcpp::Plot | inline |
remove() (defined in matplotlibcpp::Plot) | matplotlibcpp::Plot | inline |
update(const std::vector< Numeric > &x, const std::vector< Numeric > &y) (defined in matplotlibcpp::Plot) | matplotlibcpp::Plot | inline |
~Plot() (defined in matplotlibcpp::Plot) | matplotlibcpp::Plot | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
min heap class - More...
- -#include <min_heap.h>
-Public Member Functions | |
min_heap (size_t max_size) noexcept | |
Construct a new min heap object. | |
T | parent (T i) |
parent function | |
T | __left (T i) |
__left function | |
T | __right (T i) |
__right function | |
-T | __min () |
__min function Returns the minimum with heapify | |
-T | min () |
min function. Returns the minimum of the heap(the first element) | |
-void | decrease_key (T i, T key) |
void | insert (T key) |
insert function | |
void | remove (T key) |
remove function | |
void | heapify (T i) |
heapify function | |
min heap class
-
-
|
- -inlineexplicitnoexcept | -
Construct a new min heap object.
-max_size | : maximum size of the heap |
-
|
- -inline | -
__left function
-i | the element we want to find the left |
-
|
- -inline | -
__right function
-i | the element we want to find the right |
-
|
- -inline | -
heapify function
-i | the element we want to heapify from |
-
|
- -inline | -
insert function
-key | the key to be inserted |
-
|
- -inline | -
parent function
-i | the element we want to find the parent |
-
|
- -inline | -
remove function
-key | the key to be removed |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for min_heap< T >, including all inherited members.
-__left(T i) | min_heap< T > | inline |
__min() | min_heap< T > | inline |
__right(T i) | min_heap< T > | inline |
decrease_key(T i, T key) (defined in min_heap< T >) | min_heap< T > | inline |
heapify(T i) | min_heap< T > | inline |
insert(T key) | min_heap< T > | inline |
min() | min_heap< T > | inline |
min_heap(size_t max_size) noexcept | min_heap< T > | inlineexplicit |
parent(T i) | min_heap< T > | inline |
remove(T key) | min_heap< T > | inline |
~min_heap() noexcept (defined in min_heap< T >) | min_heap< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <skip_list.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
skip_list (int __MAX_LEVEL, float __PROB) | |
skip_list constructor. | |
skip_list (const skip_list &s) | |
Copy constructor for the skip_list class. | |
skip_list & | operator= (const skip_list &s) |
operator = for the skip_list class | |
- | ~skip_list () noexcept |
Destroy the skip list object. | |
void | insert (T key) |
insert function. | |
Iterator | begin () |
pointer that points to the first element of the list | |
Iterator | end () |
pointer that points to the last element of the list | |
void | remove (T key) |
remove function. | |
bool | search (T key) |
search function. | |
-Friends | |
-std::ostream & | operator<< (std::ostream &out, skip_list< T > &l) |
operator << for skip_list<T> class. | |
skip_list class.
-
-
|
- -inlineexplicit | -
skip_list constructor.
-__MAX_LEVEL | max height of the list. |
__PROB | probability of increasing the height each time(by default it should be 0.5). |
-
|
- -inline | -
Copy constructor for the skip_list class.
-s |
pointer that points to the first element of the list
-pointer that points to the last element of the list
-
-
|
- -inline | -
insert function.
-key | key to be inserted. |
-
|
- -inline | -
remove function.
-key | key to be removed(if exist). |
-
|
- -inline | -
search function.
-key | key to be searched. |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <skip_list.h>
-Public Member Functions | |
Iterator (std::shared_ptr< node > ptr) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (std::shared_ptr< node > current) |
= operator for Iterator type* | |
Iterator & | operator++ () |
operator ++ | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-ptr | pointer to the node |
-
|
- -inline | -
operator * for type Iterator
-
-
|
- -inline | -
operator ++
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for skip_list< T >::Iterator, including all inherited members.
-Iterator(std::shared_ptr< node > ptr) noexcept | skip_list< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | skip_list< T >::Iterator | inline |
operator*() | skip_list< T >::Iterator | inline |
operator++() | skip_list< T >::Iterator | inline |
operator++(int) | skip_list< T >::Iterator | inline |
operator=(std::shared_ptr< node > current) | skip_list< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
splay tree class - More...
- -#include <splay_tree.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
splay_tree (std::vector< T > v={}) noexcept | |
Construct a new splay tree object. | |
splay_tree (const splay_tree &s) | |
Copy constructor for splay tree class. | |
splay_tree & | operator= (const splay_tree &s) |
operator = for splay tree class | |
-void | clear () |
clear function | |
void | insert (T key) |
insert function | |
void | remove (T key) |
remove function | |
bool | search (T key) |
search function | |
size_t | size () |
size function | |
-Iterator | begin () |
-Iterator | end () |
std::vector< T > | inorder () |
inorder function. | |
std::vector< T > | preorder () |
preorder function. | |
std::vector< T > | postorder () |
postorder function. | |
void | visualize () |
visualize function | |
splay tree class
-
-
|
- -inlineexplicitnoexcept | -
Construct a new splay tree object.
-v | vector<T> initializer vector |
-
|
- -inlineexplicit | -
Copy constructor for splay tree class.
-s | the tree we want to copy |
-
|
- -inline | -
inorder function.
-
-
|
- -inline | -
insert function
-key | the key to be inserted |
-
|
- -inline | -
operator = for splay tree class
-s | the tree we want to copy |
-
|
- -inline | -
postorder function.
-
-
|
- -inline | -
preorder function.
-
-
|
- -inline | -
remove function
-key | the key to be removed |
-
|
- -inline | -
search function
-key |
-
|
- -inline | -
size function
-
-
|
- -inline | -
visualize function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for splay_tree< T >, including all inherited members.
-begin() (defined in splay_tree< T >) | splay_tree< T > | inline |
clear() | splay_tree< T > | inline |
end() (defined in splay_tree< T >) | splay_tree< T > | inline |
inorder() | splay_tree< T > | inline |
insert(T key) | splay_tree< T > | inline |
operator=(const splay_tree &s) | splay_tree< T > | inline |
postorder() | splay_tree< T > | inline |
preorder() | splay_tree< T > | inline |
remove(T key) | splay_tree< T > | inline |
search(T key) | splay_tree< T > | inline |
size() | splay_tree< T > | inline |
splay_tree(std::vector< T > v={}) noexcept | splay_tree< T > | inlineexplicit |
splay_tree(const splay_tree &s) | splay_tree< T > | inlineexplicit |
visualize() | splay_tree< T > | inline |
~splay_tree() (defined in splay_tree< T >) | splay_tree< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
stack_list class - More...
- -#include <stack_list.h>
-Classes | |
class | Iterator |
Iterator class. More... | |
-Public Member Functions | |
stack_list (std::vector< T > v={}) noexcept | |
Construct a new stack list object. | |
stack_list (const stack_list &s) | |
Copy constructor for stack list class. | |
stack_list & | operator= (const stack_list &s) |
operator = for stack list class | |
-void | clear () |
clear function | |
size_t | size () |
size functon | |
void | push (T key) |
push function | |
T | top () |
top function | |
-void | pop () |
pop function removes the top of the stack | |
Iterator | begin () |
pointer to the top of the stack | |
Iterator | end () |
pointer to the end of the stack | |
stack_list class
-
-
|
- -inlineexplicitnoexcept | -
Construct a new stack list object.
-v | initializer vector |
-
|
- -inlineexplicit | -
Copy constructor for stack list class.
-s | the stack we want to copy |
-
|
- -inline | -
pointer to the top of the stack
-
-
|
- -inline | -
pointer to the end of the stack
-
-
|
- -inline | -
operator = for stack list class
-s | the stack we want to copy |
-
|
- -inline | -
push function
-key | the key to be pushed |
-
|
- -inline | -
size functon
-
-
|
- -inline | -
top function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for stack_list< T >, including all inherited members.
-begin() | stack_list< T > | inline |
clear() | stack_list< T > | inline |
end() | stack_list< T > | inline |
operator=(const stack_list &s) | stack_list< T > | inline |
pop() | stack_list< T > | inline |
push(T key) | stack_list< T > | inline |
size() | stack_list< T > | inline |
stack_list(std::vector< T > v={}) noexcept | stack_list< T > | inlineexplicit |
stack_list(const stack_list &s) | stack_list< T > | inlineexplicit |
top() | stack_list< T > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
#include <stack_list.h>
-Public Member Functions | |
Iterator (const std::shared_ptr< node > &s) noexcept | |
Construct a new Iterator object. | |
Iterator & | operator= (std::shared_ptr< node > current) |
= operator for Iterator type | |
Iterator & | operator++ () |
operator ++ for type Iterator | |
Iterator | operator++ (int) |
operator ++ for type Iterator | |
bool | operator!= (const Iterator &it) |
operator != for type Iterator | |
T | operator* () |
operator * for type Iterator | |
Iterator class.
-
-
|
- -inlineexplicitnoexcept | -
Construct a new Iterator object.
-s | stack_list pointer |
-
|
- -inline | -
-
|
- -inline | -
operator * for type Iterator
-
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for stack_list< T >::Iterator, including all inherited members.
-Iterator(const std::shared_ptr< node > &s) noexcept | stack_list< T >::Iterator | inlineexplicit |
operator!=(const Iterator &it) | stack_list< T >::Iterator | inline |
operator*() | stack_list< T >::Iterator | inline |
operator++() | stack_list< T >::Iterator | inline |
operator++(int) | stack_list< T >::Iterator | inline |
operator=(std::shared_ptr< node > current) | stack_list< T >::Iterator | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
using | type |
using std::tuple_element< N, ::nlohmann::detail::iteration_proxy_value< IteratorType > >::type | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for std::tuple_element< N, ::nlohmann::detail::iteration_proxy_value< IteratorType > >, including all inherited members.
-type typedef (defined in std::tuple_element< N, ::nlohmann::detail::iteration_proxy_value< IteratorType > >) | std::tuple_element< N, ::nlohmann::detail::iteration_proxy_value< IteratorType > > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
trie class - More...
- -#include <trie.h>
-Public Member Functions | |
trie (std::vector< std::string > v={}) noexcept | |
Construct a new trie object. | |
trie (const trie &t) | |
Copy constructor for trie class. | |
trie & | operator= (const trie &t) |
operator = for trie class | |
bool | empty () |
empty function. | |
void | insert (std::string key) |
insert function. | |
size_t | size () |
size function | |
void | remove (std::string key) |
remove function. | |
bool | search (std::string key) |
search function. | |
-Friends | |
-std::ostream & | operator<< (std::ostream &out, trie &t) |
trie class
-
-
|
- -inlineexplicitnoexcept | -
Construct a new trie object.
-v | : vector of strings for initializer. |
-
|
- -inlineexplicit | -
Copy constructor for trie class.
-t | the tree we want to copy |
-
|
- -inline | -
empty function.
-void trie::insert | -( | -std::string | key | ) | -- |
insert function.
-key | the key to be inserted. |
operator = for trie class
-t | the tree we want to copy |
void trie::remove | -( | -std::string | key | ) | -- |
remove function.
-key | the key to be removed. |
bool trie::search | -( | -std::string | key | ) | -- |
search function.
-key | the key to be searched. |
-
|
- -inline | -
size function
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for trie, including all inherited members.
-empty() | trie | inline |
insert(std::string key) | trie | |
operator<< (defined in trie) | trie | friend |
operator=(const trie &t) | trie | inline |
remove(std::string key) | trie | |
search(std::string key) | trie | |
size() | trie | inline |
trie(std::vector< std::string > v={}) noexcept | trie | inlineexplicit |
trie(const trie &t) | trie | inlineexplicit |
- |
- AlgoPlus v0.1.0
-
- |
-
class for weighted graph - More...
- -#include <graph.h>
-Public Member Functions | |
weighted_graph (std::string __type, std::vector< std::pair< std::pair< T, T >, int64_t > > __adj={}) | |
Constructor for weighted graph. | |
weighted_graph (const weighted_graph &g) | |
Copy constructor for weighted graph class. | |
weighted_graph & | operator= (const weighted_graph &g) |
operator = for weighted graph class | |
- | ~weighted_graph () |
Destroy the weighted graph object. | |
void | add_edge (T u, T v, int64_t w) |
add_edge function. | |
bool | has_edge (T start, T end) |
has_edge function. | |
-void | clear () |
clear function. Clearing the entire graph. | |
bool | empty () |
empty function.
| |
size_t | size () |
size function. | |
std::vector< T > | dfs (T start) |
dfs function. | |
std::vector< T > | bfs (T start) |
bfs function. | |
int64_t | shortest_path (T start, T end) |
shortest_path function. | |
int64_t | connected_components () |
connected_components function. | |
bool | cycle () |
cycle function. | |
std::vector< T > | topological_sort () |
topological sort function. | |
int64_t | prim (T start) |
prim function. | |
bool | bipartite () |
bipartite function. | |
std::vector< std::vector< T > > | bridge (T start) |
bridge function. | |
int64_t | scc () |
scc(strongly connected components) function. | |
bool | connected () |
connected function. | |
int | eulerian () |
eulerian function. | |
std::unordered_map< T, double > | bellman_ford (T start) |
find SSSP and identify negative cycles. | |
void | visualize () |
visualize function. | |
-Friends | |
std::ostream & | operator<< (std::ostream &out, weighted_graph< T > &g) |
<< operator for the weighted graph class. | |
class for weighted graph
-
-
|
- -inline | -
Constructor for weighted graph.
-__type | type of the graph, either "directed" or "undirected". |
__adj | vector<pair<pair<T,T>, int64_t>>, you can pass a vector of pairs to construct the graph without doing multiple add_edge. |
-
|
- -inlineexplicit | -
Copy constructor for weighted graph class.
-g | the graph we want to copy |
-
|
- -inline | -
add_edge function.
-u | first node. |
v | second node. |
w | weight between u and v. |
std::unordered_map< T, double > weighted_graph< T >::bellman_ford | -( | -T | start | ) | -- |
find SSSP and identify negative cycles.
-std::vector< T > weighted_graph< T >::bfs | -( | -T | start | ) | -- |
bfs function.
-start | starting node of the bfs. |
bool weighted_graph< T >::bipartite | -( | -) | -- |
bipartite function.
-std::vector< std::vector< T > > weighted_graph< T >::bridge | -( | -T | start | ) | -- |
bridge function.
-start | starting point of search for the bridges. |
bool weighted_graph< T >::connected | -( | -) | -- |
connected function.
-int64_t weighted_graph< T >::connected_components | -( | -) | -- |
connected_components function.
-bool weighted_graph< T >::cycle | -( | -) | -- |
cycle function.
-std::vector< T > weighted_graph< T >::dfs | -( | -T | start | ) | -- |
dfs function.
-start | starting node of the bfs. |
-
|
- -inline | -
empty function.
int weighted_graph< T >::eulerian | -( | -) | -- |
eulerian function.
-
-
|
- -inline | -
has_edge function.
-start | starting node. |
end | ending node. |
-
|
- -inline | -
operator = for weighted graph class
-g | the graph we want to copy |
int64_t weighted_graph< T >::prim | -( | -T | start | ) | -- |
prim function.
-start | starting node. |
int64_t weighted_graph< T >::scc | -( | -) | -- |
scc(strongly connected components) function.
-int64_t weighted_graph< T >::shortest_path | -( | -T | start, | -
- | - | T | end ) | -
shortest_path function.
-start | starting node. |
end | ending node. |
size_t weighted_graph< T >::size | -( | -) | -- |
size function.
-std::vector< T > weighted_graph< T >::topological_sort | -( | -) | -- |
topological sort function.
-void weighted_graph< T >::visualize | -( | -) | -- |
visualize function.
-
-
|
- -friend | -
<< operator for the weighted graph class.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for weighted_graph< T >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
json::iterator_wrapper(j)
with j.items()
. json::iterator_wrapper(j)
with j.items()
. j << i;
with i >> j;
. - |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
disjoint_set | |
graph | |
hash_table | |
heap | |
list | |
queue | |
stack | |
tree | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
dynamic_programming | |
number_theory | |
searching | |
sorting | |
string | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
search_algorithms | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Files | |
bfs.h | |
binary_search.h | |
dfs.h | |
exponential_search.h | |
interpolation_search.h | |
jump_search.h | |
linear_search.h | |
ternary_search.h | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Files | |
circular_linked_list.h | |
doubly_linked_list.h | |
frequency_list.h | |
linked_list.h | |
skip_list.h | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
graph_visual | |
list_visual | |
tree_visual | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Files | |
bubble_sort.h | |
bucket_sort.h | |
counting_sort.h | |
heap_sort.h | |
insertion_sort.h | |
merge_sort.h | |
quick_sort.h | |
radix_sort.h | |
selection_sort.h | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
image | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
linear_regression | |
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
algorithms | |
graph | |
heap | |
list | |
tree | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
best_first | |
hill_climbing | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Directories | |
dynamic_programming | |
number_theory | |
searching | |
sorting | |
string | |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
▼ src | |
▼ algorithms | |
▼ dynamic_programming | |
coin_change.h | |
fib.h | |
kadane.h | |
lcs.h | |
lis.h | |
▼ number_theory | |
eratosthenes_sieve.h | |
gcd.h | |
mersenne_primes.h | |
▼ searching | |
bfs.h | |
binary_search.h | |
dfs.h | |
exponential_search.h | |
interpolation_search.h | |
jump_search.h | |
linear_search.h | |
ternary_search.h | |
▼ sorting | |
bubble_sort.h | |
bucket_sort.h | |
counting_sort.h | |
heap_sort.h | |
insertion_sort.h | |
merge_sort.h | |
quick_sort.h | |
radix_sort.h | |
selection_sort.h | |
▼ string | |
edit_distance.h | |
find_and_replace.h | |
kmp.h | |
▼ classes | |
▼ disjoint_set | |
disjoint_set.h | |
▼ graph | |
graph.h | |
▼ hash_table | |
hash_table.h | |
▼ heap | |
min_heap.h | |
▼ list | |
circular_linked_list.h | |
doubly_linked_list.h | |
frequency_list.h | |
linked_list.h | |
skip_list.h | |
▼ queue | |
dequeue_list.h | |
▼ stack | |
stack_list.h | |
▼ tree | |
avl_tree.h | |
bst.h | |
interval_tree.h | |
splay_tree.h | |
trie.h | |
▼ include | |
algoplus.h | |
▼ linalg | |
mat_1d.h | |
mat_2d.h | |
▼ machine_learning | |
▼ clustering | |
▼ DBSCAN | |
dbscan.h | |
▼ kmeans | |
kmeans.h | |
▼ image | |
huffman_encoding.h | |
▼ regression | |
▼ linear_regression | |
lin_reg.h | |
▼ search_algorithms | |
▼ best_first | |
best_first.h | |
▼ hill_climbing | |
hill_climbing.h | |
▼ visualization | |
▼ graph_visual | |
graph_visualization.h | |
▼ list_visual | |
linked_list_visualization.h | |
▼ tree_visual | |
tree_visualization.h | |
▼ third_party | |
catch.hpp | |
json.hpp | |
matplotlibcpp.h |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
AlgoPlus is a C++ library that includes ready-to-use complex data structures and algorithms.
- - -You can see more examples or follow the Tutorials.
-Graphs
-Trees
Lists
Other
Machine Learning(NEW!)
We have unit tests for every function of our implemented algorithms & data structures.It is very important to make sure that your code works before making any pull requests!
-
Linux/MacOS
Windows
See more here.
-Machine Learning(NEW!)
- |
- AlgoPlus v0.1.0
-
- |
-
We are happy to see you contribute :).
-
- |
- AlgoPlus v0.1.0
-
- |
-
DBSCAN -- creates a dbscan object -
- |
- AlgoPlus v0.1.0
-
- |
-
avl_tree<T> -- creates an avl tree. -
avl tree contains:
- |
- AlgoPlus v0.1.0
-
- |
-
bst<T> -- creates an avl tree. -
avl tree contains:
- |
- AlgoPlus v0.1.0
-
- |
-
circular_linked_list<T> -- creates a circular linked list with elements of type T -
- |
- AlgoPlus v0.1.0
-
- |
-
dequeue_list<T> -- creates a dequeue implemented with a list. -
splay tree contains:
- |
- AlgoPlus v0.1.0
-
- |
-
doubly_linked_list<T> -- creates a doubly linked list with elements of type T -
- |
- AlgoPlus v0.1.0
-
- |
-
1. frequency_list<T> flist; creates an empty frequency list with T type elements. -2. frequency_list<T> flist({1, 2, 3, 4}); creates a frequency list and initializes it with the given values. -
- |
- AlgoPlus v0.1.0
-
- |
-
hash_table -- creates a hash table(dictionary). -
- |
- AlgoPlus v0.1.0
-
- |
-
1. interval_tree<T> -- creates an interval tree with pairs of <T,T> -
- |
- AlgoPlus v0.1.0
-
- |
-
kmeans -- creates a kmeans object -
- |
- AlgoPlus v0.1.0
-
- |
-
-- linear_regression : creates a linear regression object -
- |
- AlgoPlus v0.1.0
-
- |
-
linked_list<T> -- creates a linked list with elements of type T -
- |
- AlgoPlus v0.1.0
-
- |
-
1. skip_list<T> -- creates a skip list with T type elements. -
- |
- AlgoPlus v0.1.0
-
- |
-
splay_tree<T> -- creates a splay tree. -
splay tree contains:
- |
- AlgoPlus v0.1.0
-
- |
-
stack_list<T> -- creates a stack implemented with a list. -
splay tree contains:
- |
- AlgoPlus v0.1.0
-
- |
-
trie -- creates an trie tree(or prefix tree). -
- |
- AlgoPlus v0.1.0
-
- |
-
detail namespace with internal helper functions -More...
--Namespaces | |
namespace | dtoa_impl |
implements the Grisu2 algorithm for binary to decimal floating-point conversion. | |
-Typedefs | |
-template<typename ... Ts> | |
using | void_t = typename make_void<Ts...>::type |
-template<template< class... > class Op, class... Args> | |
using | is_detected = typename detector<nonesuch, void, Op, Args...>::value_t |
-template<template< class... > class Op, class... Args> | |
using | detected_t = typename detector<nonesuch, void, Op, Args...>::type |
-template<class Default , template< class... > class Op, class... Args> | |
using | detected_or = detector<Default, void, Op, Args...> |
-template<class Default , template< class... > class Op, class... Args> | |
using | detected_or_t = typename detected_or<Default, Op, Args...>::type |
-template<class Expected , template< class... > class Op, class... Args> | |
using | is_detected_exact = std::is_same<Expected, detected_t<Op, Args...>> |
template<class To , template< class... > class Op, class... Args> | |
using | is_detected_convertible |
-template<typename T > | |
using | uncvref_t = typename std::remove_cv<typename std::remove_reference<T>::type>::type |
-template<bool B, typename T = void> | |
using | enable_if_t = typename std::enable_if<B, T>::type |
-template<size_t... Ints> | |
using | index_sequence = integer_sequence<size_t, Ints...> |
-template<typename T , T N> | |
using | make_integer_sequence = typename utility_internal::Gen<T, N>::type |
-template<size_t N> | |
using | make_index_sequence = make_integer_sequence<size_t, N> |
-template<typename... Ts> | |
using | index_sequence_for = make_index_sequence<sizeof...(Ts)> |
-template<typename T > | |
using | mapped_type_t = typename T::mapped_type |
-template<typename T > | |
using | key_type_t = typename T::key_type |
-template<typename T > | |
using | value_type_t = typename T::value_type |
-template<typename T > | |
using | difference_type_t = typename T::difference_type |
-template<typename T > | |
using | pointer_t = typename T::pointer |
-template<typename T > | |
using | reference_t = typename T::reference |
-template<typename T > | |
using | iterator_category_t = typename T::iterator_category |
-template<typename T , typename... Args> | |
using | to_json_function = decltype(T::to_json(std::declval<Args>()...)) |
-template<typename T , typename... Args> | |
using | from_json_function = decltype(T::from_json(std::declval<Args>()...)) |
-template<typename T , typename U > | |
using | get_template_function = decltype(std::declval<T>().template get<U>()) |
-template<typename T > | |
using | detect_key_compare = typename T::key_compare |
-template<typename BasicJsonType > | |
using | actual_object_comparator_t = typename actual_object_comparator<BasicJsonType>::type |
-template<typename R > | |
using | iterator_t = enable_if_t<is_range<R>::value, result_of_begin<decltype(std::declval<R&>())>> |
-template<typename T > | |
using | range_value_t = value_type_t<iterator_traits<iterator_t<T>>> |
-template<typename T > | |
using | is_json_pointer = is_specialization_of<::nlohmann::json_pointer, uncvref_t<T>> |
-template<typename T > | |
using | detect_is_transparent = typename T::is_transparent |
template<typename Comparator , typename ObjectKeyType , typename KeyTypeCVRef , bool RequireTransparentComparator = true, bool ExcludeObjectKeyType = RequireTransparentComparator, typename KeyType = uncvref_t<KeyTypeCVRef>> | |
using | is_usable_as_key_type |
template<typename BasicJsonType , typename KeyTypeCVRef , bool RequireTransparentComparator = true, bool ExcludeObjectKeyType = RequireTransparentComparator, typename KeyType = uncvref_t<KeyTypeCVRef>> | |
using | is_usable_as_basic_json_key_type |
-template<typename ObjectType , typename KeyType > | |
using | detect_erase_with_key_type = decltype(std::declval<ObjectType&>().erase(std::declval<KeyType>())) |
template<typename BasicJsonType , typename KeyType > | |
using | has_erase_with_key_type |
-template<typename... Types> | |
using | all_integral = conjunction<std::is_integral<Types>...> |
-template<typename... Types> | |
using | all_signed = conjunction<std::is_signed<Types>...> |
-template<typename... Types> | |
using | all_unsigned = conjunction<std::is_unsigned<Types>...> |
template<typename... Types> | |
using | same_sign |
template<typename OfType , typename T > | |
using | never_out_of_range |
-template<bool Value> | |
using | bool_constant = std::integral_constant<bool, Value> |
-template<typename T > | |
using | is_c_string_uncvref = is_c_string<uncvref_t<T>> |
-template<typename StringType , typename Arg > | |
using | string_can_append = decltype(std::declval<StringType&>().append(std::declval < Arg && > ())) |
-template<typename StringType , typename Arg > | |
using | detect_string_can_append = is_detected<string_can_append, StringType, Arg> |
-template<typename StringType , typename Arg > | |
using | string_can_append_op = decltype(std::declval<StringType&>() += std::declval < Arg && > ()) |
-template<typename StringType , typename Arg > | |
using | detect_string_can_append_op = is_detected<string_can_append_op, StringType, Arg> |
-template<typename StringType , typename Arg > | |
using | string_can_append_iter = decltype(std::declval<StringType&>().append(std::declval<const Arg&>().begin(), std::declval<const Arg&>().end())) |
-template<typename StringType , typename Arg > | |
using | detect_string_can_append_iter = is_detected<string_can_append_iter, StringType, Arg> |
-template<typename StringType , typename Arg > | |
using | string_can_append_data = decltype(std::declval<StringType&>().append(std::declval<const Arg&>().data(), std::declval<const Arg&>().size())) |
-template<typename StringType , typename Arg > | |
using | detect_string_can_append_data = is_detected<string_can_append_data, StringType, Arg> |
-using | contiguous_bytes_input_adapter = decltype(input_adapter(std::declval<const char*>(), std::declval<const char*>())) |
-template<typename T > | |
using | null_function_t = decltype(std::declval<T&>().null()) |
template<typename T > | |
using | boolean_function_t |
template<typename T , typename Integer > | |
using | number_integer_function_t |
template<typename T , typename Unsigned > | |
using | number_unsigned_function_t |
template<typename T , typename Float , typename String > | |
using | number_float_function_t |
template<typename T , typename String > | |
using | string_function_t |
template<typename T , typename Binary > | |
using | binary_function_t |
template<typename T > | |
using | start_object_function_t |
template<typename T , typename String > | |
using | key_function_t |
-template<typename T > | |
using | end_object_function_t = decltype(std::declval<T&>().end_object()) |
template<typename T > | |
using | start_array_function_t |
-template<typename T > | |
using | end_array_function_t = decltype(std::declval<T&>().end_array()) |
template<typename T , typename Exception > | |
using | parse_error_function_t |
template<typename BasicJsonType > | |
using | parser_callback_t |
template<class T > | |
using | json_base_class |
-template<typename CharType > | |
using | output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>> |
a type to simplify interfaces | |
-Enumerations | |
enum class | value_t : std::uint8_t { - null -, object -, array -, string -, - boolean -, number_integer -, number_unsigned -, number_float -, - binary -, discarded - - } |
the JSON type enumeration More... | |
enum class | input_format_t { - json -, cbor -, msgpack -, ubjson -, - bson -, bjdata - - } |
the supported input formats | |
enum class | cbor_tag_handler_t { error -, ignore -, store - } |
how to treat CBOR tags More... | |
enum class | parse_event_t : std::uint8_t { - object_start -, object_end -, array_start -, array_end -, - key -, value - - } |
enum class | error_handler_t { strict -, replace -, ignore - } |
how to treat decoding errors More... | |
-Functions | |
bool | operator< (const value_t lhs, const value_t rhs) noexcept |
comparison operator for JSON types | |
template<typename StringType > | |
void | replace_substring (StringType &s, const StringType &f, const StringType &t) |
replace all occurrences of a substring by another string | |
template<typename StringType > | |
StringType | escape (StringType s) |
string escaping as described in RFC 6901 (Sect. 4) | |
-template<typename T , typename... Args> | |
constexpr std::array< T, sizeof...(Args)> | make_array (Args &&... args) |
-template<typename T , typename U , enable_if_t< !std::is_same< T, U >::value, int > = 0> | |
T | conditional_static_cast (U value) |
-template<typename OfType , typename T > | |
constexpr bool | value_in_range_of (T val) |
-std::size_t | concat_length () |
-template<typename... Args> | |
std::size_t | concat_length (const char *cstr, const Args &... rest) |
-template<typename StringType , typename... Args> | |
std::size_t | concat_length (const StringType &str, const Args &... rest) |
-template<typename... Args> | |
std::size_t | concat_length (const char, const Args &... rest) |
-template<typename OutStringType > | |
void | concat_into (OutStringType &) |
-template<typename OutStringType , typename Arg , typename... Args, enable_if_t< !detect_string_can_append< OutStringType, Arg >::value &&detect_string_can_append_op< OutStringType, Arg >::value, int > = 0> | |
void | concat_into (OutStringType &out, Arg &&arg, Args &&... rest) |
-template<typename OutStringType , typename Arg , typename... Args, enable_if_t< !detect_string_can_append< OutStringType, Arg >::value &&!detect_string_can_append_op< OutStringType, Arg >::value &&detect_string_can_append_iter< OutStringType, Arg >::value, int > = 0> | |
void | concat_into (OutStringType &out, const Arg &arg, Args &&... rest) |
-template<typename OutStringType = std::string, typename... Args> | |
OutStringType | concat (Args &&... args) |
-template<typename BasicJsonType > | |
void | from_json (const BasicJsonType &j, typename std::nullptr_t &n) |
-template<typename BasicJsonType , typename ArithmeticType , enable_if_t< std::is_arithmetic< ArithmeticType >::value &&!std::is_same< ArithmeticType, typename BasicJsonType::boolean_t >::value, int > = 0> | |
void | get_arithmetic_value (const BasicJsonType &j, ArithmeticType &val) |
-template<typename BasicJsonType > | |
void | from_json (const BasicJsonType &j, typename BasicJsonType::boolean_t &b) |
-template<typename BasicJsonType > | |
void | from_json (const BasicJsonType &j, typename BasicJsonType::string_t &s) |
-template<typename BasicJsonType , typename StringType , enable_if_t< std::is_assignable< StringType &, const typename BasicJsonType::string_t >::value &&is_detected_exact< typename BasicJsonType::string_t::value_type, value_type_t, StringType >::value &&!std::is_same< typename BasicJsonType::string_t, StringType >::value &&!is_json_ref< StringType >::value, int > = 0> | |
void | from_json (const BasicJsonType &j, StringType &s) |
-template<typename BasicJsonType > | |
void | from_json (const BasicJsonType &j, typename BasicJsonType::number_float_t &val) |
-template<typename BasicJsonType > | |
void | from_json (const BasicJsonType &j, typename BasicJsonType::number_unsigned_t &val) |
-template<typename BasicJsonType > | |
void | from_json (const BasicJsonType &j, typename BasicJsonType::number_integer_t &val) |
-template<typename BasicJsonType , typename EnumType , enable_if_t< std::is_enum< EnumType >::value, int > = 0> | |
void | from_json (const BasicJsonType &j, EnumType &e) |
-template<typename BasicJsonType , typename T , typename Allocator , enable_if_t< is_getable< BasicJsonType, T >::value, int > = 0> | |
void | from_json (const BasicJsonType &j, std::forward_list< T, Allocator > &l) |
-template<typename BasicJsonType , typename T , enable_if_t< is_getable< BasicJsonType, T >::value, int > = 0> | |
void | from_json (const BasicJsonType &j, std::valarray< T > &l) |
-template<typename BasicJsonType , typename T , std::size_t N> | |
auto | from_json (const BasicJsonType &j, T(&arr)[N]) -> decltype(j.template get< T >(), void()) |
-template<typename BasicJsonType > | |
void | from_json_array_impl (const BasicJsonType &j, typename BasicJsonType::array_t &arr, priority_tag< 3 >) |
-template<typename BasicJsonType , typename T , std::size_t N> | |
auto | from_json_array_impl (const BasicJsonType &j, std::array< T, N > &arr, priority_tag< 2 >) -> decltype(j.template get< T >(), void()) |
-template<typename BasicJsonType , typename ConstructibleArrayType , enable_if_t< std::is_assignable< ConstructibleArrayType &, ConstructibleArrayType >::value, int > = 0> | |
auto | from_json_array_impl (const BasicJsonType &j, ConstructibleArrayType &arr, priority_tag< 1 >) -> decltype(arr.reserve(std::declval< typename ConstructibleArrayType::size_type >()), j.template get< typename ConstructibleArrayType::value_type >(), void()) |
-template<typename BasicJsonType , typename ConstructibleArrayType , enable_if_t< std::is_assignable< ConstructibleArrayType &, ConstructibleArrayType >::value, int > = 0> | |
void | from_json_array_impl (const BasicJsonType &j, ConstructibleArrayType &arr, priority_tag< 0 >) |
-template<typename BasicJsonType , typename ConstructibleArrayType , enable_if_t< is_constructible_array_type< BasicJsonType, ConstructibleArrayType >::value &&!is_constructible_object_type< BasicJsonType, ConstructibleArrayType >::value &&!is_constructible_string_type< BasicJsonType, ConstructibleArrayType >::value &&!std::is_same< ConstructibleArrayType, typename BasicJsonType::binary_t >::value &&!is_basic_json< ConstructibleArrayType >::value, int > = 0> | |
auto | from_json (const BasicJsonType &j, ConstructibleArrayType &arr) -> decltype(from_json_array_impl(j, arr, priority_tag< 3 > {}), j.template get< typename ConstructibleArrayType::value_type >(), void()) |
-template<typename BasicJsonType , typename T , std::size_t... Idx> | |
std::array< T, sizeof...(Idx)> | from_json_inplace_array_impl (BasicJsonType &&j, identity_tag< std::array< T, sizeof...(Idx)> >, index_sequence< Idx... >) |
-template<typename BasicJsonType , typename T , std::size_t N> | |
auto | from_json (BasicJsonType &&j, identity_tag< std::array< T, N > > tag) -> decltype(from_json_inplace_array_impl(std::forward< BasicJsonType >(j), tag, make_index_sequence< N > {})) |
-template<typename BasicJsonType > | |
void | from_json (const BasicJsonType &j, typename BasicJsonType::binary_t &bin) |
-template<typename BasicJsonType , typename ConstructibleObjectType , enable_if_t< is_constructible_object_type< BasicJsonType, ConstructibleObjectType >::value, int > = 0> | |
void | from_json (const BasicJsonType &j, ConstructibleObjectType &obj) |
-template<typename BasicJsonType , typename ArithmeticType , enable_if_t< std::is_arithmetic< ArithmeticType >::value &&!std::is_same< ArithmeticType, typename BasicJsonType::number_unsigned_t >::value &&!std::is_same< ArithmeticType, typename BasicJsonType::number_integer_t >::value &&!std::is_same< ArithmeticType, typename BasicJsonType::number_float_t >::value &&!std::is_same< ArithmeticType, typename BasicJsonType::boolean_t >::value, int > = 0> | |
void | from_json (const BasicJsonType &j, ArithmeticType &val) |
-template<typename BasicJsonType , typename... Args, std::size_t... Idx> | |
std::tuple< Args... > | from_json_tuple_impl_base (BasicJsonType &&j, index_sequence< Idx... >) |
-template<typename BasicJsonType , class A1 , class A2 > | |
std::pair< A1, A2 > | from_json_tuple_impl (BasicJsonType &&j, identity_tag< std::pair< A1, A2 > >, priority_tag< 0 >) |
-template<typename BasicJsonType , typename A1 , typename A2 > | |
void | from_json_tuple_impl (BasicJsonType &&j, std::pair< A1, A2 > &p, priority_tag< 1 >) |
-template<typename BasicJsonType , typename... Args> | |
std::tuple< Args... > | from_json_tuple_impl (BasicJsonType &&j, identity_tag< std::tuple< Args... > >, priority_tag< 2 >) |
-template<typename BasicJsonType , typename... Args> | |
void | from_json_tuple_impl (BasicJsonType &&j, std::tuple< Args... > &t, priority_tag< 3 >) |
-template<typename BasicJsonType , typename TupleRelated > | |
auto | from_json (BasicJsonType &&j, TupleRelated &&t) -> decltype(from_json_tuple_impl(std::forward< BasicJsonType >(j), std::forward< TupleRelated >(t), priority_tag< 3 > {})) |
-template<typename BasicJsonType , typename Key , typename Value , typename Compare , typename Allocator , typename = enable_if_t < !std::is_constructible < typename BasicJsonType::string_t, Key >::value >> | |
void | from_json (const BasicJsonType &j, std::map< Key, Value, Compare, Allocator > &m) |
-template<typename BasicJsonType , typename Key , typename Value , typename Hash , typename KeyEqual , typename Allocator , typename = enable_if_t < !std::is_constructible < typename BasicJsonType::string_t, Key >::value >> | |
void | from_json (const BasicJsonType &j, std::unordered_map< Key, Value, Hash, KeyEqual, Allocator > &m) |
-template<typename string_type > | |
void | int_to_string (string_type &target, std::size_t value) |
-template<std::size_t N, typename IteratorType , enable_if_t< N==0, int > = 0> | |
auto | get (const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key()) |
-template<typename BasicJsonType , typename T , enable_if_t< std::is_same< T, typename BasicJsonType::boolean_t >::value, int > = 0> | |
void | to_json (BasicJsonType &j, T b) noexcept |
-template<typename BasicJsonType , typename BoolRef , enable_if_t<((std::is_same< std::vector< bool >::reference, BoolRef >::value &&!std::is_same< std::vector< bool >::reference, typename BasicJsonType::boolean_t & >::value)||(std::is_same< std::vector< bool >::const_reference, BoolRef >::value &&!std::is_same< detail::uncvref_t< std::vector< bool >::const_reference >, typename BasicJsonType::boolean_t >::value)) &&std::is_convertible< const BoolRef &, typename BasicJsonType::boolean_t >::value, int > = 0> | |
void | to_json (BasicJsonType &j, const BoolRef &b) noexcept |
-template<typename BasicJsonType , typename CompatibleString , enable_if_t< std::is_constructible< typename BasicJsonType::string_t, CompatibleString >::value, int > = 0> | |
void | to_json (BasicJsonType &j, const CompatibleString &s) |
-template<typename BasicJsonType > | |
void | to_json (BasicJsonType &j, typename BasicJsonType::string_t &&s) |
-template<typename BasicJsonType , typename FloatType , enable_if_t< std::is_floating_point< FloatType >::value, int > = 0> | |
void | to_json (BasicJsonType &j, FloatType val) noexcept |
-template<typename BasicJsonType , typename CompatibleNumberUnsignedType , enable_if_t< is_compatible_integer_type< typename BasicJsonType::number_unsigned_t, CompatibleNumberUnsignedType >::value, int > = 0> | |
void | to_json (BasicJsonType &j, CompatibleNumberUnsignedType val) noexcept |
-template<typename BasicJsonType , typename CompatibleNumberIntegerType , enable_if_t< is_compatible_integer_type< typename BasicJsonType::number_integer_t, CompatibleNumberIntegerType >::value, int > = 0> | |
void | to_json (BasicJsonType &j, CompatibleNumberIntegerType val) noexcept |
-template<typename BasicJsonType , typename EnumType , enable_if_t< std::is_enum< EnumType >::value, int > = 0> | |
void | to_json (BasicJsonType &j, EnumType e) noexcept |
-template<typename BasicJsonType > | |
void | to_json (BasicJsonType &j, const std::vector< bool > &e) |
-template<typename BasicJsonType , typename CompatibleArrayType , enable_if_t< is_compatible_array_type< BasicJsonType, CompatibleArrayType >::value &&!is_compatible_object_type< BasicJsonType, CompatibleArrayType >::value &&!is_compatible_string_type< BasicJsonType, CompatibleArrayType >::value &&!std::is_same< typename BasicJsonType::binary_t, CompatibleArrayType >::value &&!is_basic_json< CompatibleArrayType >::value, int > = 0> | |
void | to_json (BasicJsonType &j, const CompatibleArrayType &arr) |
-template<typename BasicJsonType > | |
void | to_json (BasicJsonType &j, const typename BasicJsonType::binary_t &bin) |
-template<typename BasicJsonType , typename T , enable_if_t< std::is_convertible< T, BasicJsonType >::value, int > = 0> | |
void | to_json (BasicJsonType &j, const std::valarray< T > &arr) |
-template<typename BasicJsonType > | |
void | to_json (BasicJsonType &j, typename BasicJsonType::array_t &&arr) |
-template<typename BasicJsonType , typename CompatibleObjectType , enable_if_t< is_compatible_object_type< BasicJsonType, CompatibleObjectType >::value &&!is_basic_json< CompatibleObjectType >::value, int > = 0> | |
void | to_json (BasicJsonType &j, const CompatibleObjectType &obj) |
-template<typename BasicJsonType > | |
void | to_json (BasicJsonType &j, typename BasicJsonType::object_t &&obj) |
-template<typename BasicJsonType , typename T , std::size_t N, enable_if_t< !std::is_constructible< typename BasicJsonType::string_t, const T(&)[N]>::value, int > = 0> | |
void | to_json (BasicJsonType &j, const T(&arr)[N]) |
-template<typename BasicJsonType , typename T1 , typename T2 , enable_if_t< std::is_constructible< BasicJsonType, T1 >::value &&std::is_constructible< BasicJsonType, T2 >::value, int > = 0> | |
void | to_json (BasicJsonType &j, const std::pair< T1, T2 > &p) |
-template<typename BasicJsonType , typename T , enable_if_t< std::is_same< T, iteration_proxy_value< typename BasicJsonType::iterator > >::value, int > = 0> | |
void | to_json (BasicJsonType &j, const T &b) |
-template<typename BasicJsonType , typename Tuple , std::size_t... Idx> | |
void | to_json_tuple_impl (BasicJsonType &j, const Tuple &t, index_sequence< Idx... >) |
-std::size_t | combine (std::size_t seed, std::size_t h) noexcept |
template<typename BasicJsonType > | |
std::size_t | hash (const BasicJsonType &j) |
hash a JSON value | |
-template<typename IteratorType > | |
iterator_input_adapter_factory< IteratorType >::adapter_type | input_adapter (IteratorType first, IteratorType last) |
-template<typename ContainerType > | |
container_input_adapter_factory_impl::container_input_adapter_factory< ContainerType >::adapter_type | input_adapter (const ContainerType &container) |
-file_input_adapter | input_adapter (std::FILE *file) |
-input_stream_adapter | input_adapter (std::istream &stream) |
-input_stream_adapter | input_adapter (std::istream &&stream) |
-template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value &&!std::is_array< CharT >::value &&std::is_integral< typename std::remove_pointer< CharT >::type >::value &&sizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0> | |
contiguous_bytes_input_adapter | input_adapter (CharT b) |
-template<typename T , std::size_t N> | |
auto | input_adapter (T(&array)[N]) -> decltype(input_adapter(array, array+N)) |
template<typename FloatType > | |
JSON_HEDLEY_RETURNS_NON_NULL char * | to_chars (char *first, const char *last, FloatType value) |
generates a decimal representation of the floating-point number value in [first, last). | |
detail namespace with internal helper functions
-This namespace collects functions that should not be exposed, implementations of some basic_json methods, and meta-programming helpers.
-using detail::has_erase_with_key_type | -
using detail::is_detected_convertible | -
using detail::is_usable_as_basic_json_key_type | -
using detail::is_usable_as_key_type | -
using detail::number_float_function_t | -
using detail::same_sign | -
-
|
- -strong | -
how to treat CBOR tags
-Enumerator | |
---|---|
error | throw a parse_error exception in case of a tag - |
ignore | ignore tags - |
store | store tags as binary type - |
-
|
- -strong | -
how to treat decoding errors
-Enumerator | |
---|---|
strict | throw a type_error exception in case of invalid UTF-8 - |
replace | replace invalid UTF-8 sequences with U+FFFD - |
ignore | ignore invalid UTF-8 sequences - |
-
|
- -strong | -
-
|
- -strong | -
the JSON type enumeration
-This enumeration collects the different JSON types. It is internally used to distinguish the stored values, and the functions basic_json::is_null(), basic_json::is_object(), basic_json::is_array(), basic_json::is_string(), basic_json::is_boolean(), basic_json::is_number() (with basic_json::is_number_integer(), basic_json::is_number_unsigned(), and basic_json::is_number_float()), basic_json::is_discarded(), basic_json::is_primitive(), and basic_json::is_structured() rely on it.
-
-
|
- -inline | -
string escaping as described in RFC 6901 (Sect. 4)
-[in] | s | string to escape |
Note the order of escaping "~" to "~0" and "/" to "~1" is important.
- -std::size_t detail::hash | -( | -const BasicJsonType & | j | ) | -- |
hash a JSON value
-The hash function tries to rely on std::hash where possible. Furthermore, the type of the JSON value is taken into account to have different hash values for null, 0, 0U, and false, etc.
-BasicJsonType | basic_json specialization |
j | JSON value to hash |
-
|
- -inlinenoexcept | -
comparison operator for JSON types
-Returns an ordering that is similar to Python:
-
|
- -inline | -
replace all occurrences of a substring by another string
-[in,out] | s | the string to manipulate; changed so that all occurrences of f are replaced with t |
[in] | f | the substring to replace with t |
[in] | t | the string to replace f |
JSON_HEDLEY_RETURNS_NON_NULL char * detail::to_chars | -( | -char * | first, | -
- | - | const char * | last, | -
- | - | FloatType | value ) | -
generates a decimal representation of the floating-point number value in [first, last).
-The format of the resulting decimal representation is similar to printf's g format. Returns an iterator pointing past-the-end of the decimal representation.
-- |
- AlgoPlus v0.1.0
-
- |
-
implements the Grisu2 algorithm for binary to decimal floating-point conversion. -More...
--Classes | |
struct | boundaries |
struct | cached_power |
struct | diyfp |
-Variables | |
-constexpr int | kAlpha = -60 |
-constexpr int | kGamma = -32 |
implements the Grisu2 algorithm for binary to decimal floating-point conversion.
-This implementation is a slightly modified version of the reference implementation which may be obtained from http://florian.loitsch.com/publications (bench.tar.gz).
-The code is distributed under the MIT license, Copyright (c) 2009 Florian Loitsch.
-For a detailed description of the algorithm see:
-[1] Loitsch, "Printing Floating-Point Numbers Quickly and Accurately with - Integers", Proceedings of the ACM SIGPLAN 2010 Conference on Programming Language Design and Implementation, PLDI 2010 [2] Burger, Dybvig, "Printing Floating-Point Numbers Quickly and Accurately", Proceedings of the ACM SIGPLAN 1996 Conference on Programming Language Design and Implementation, PLDI 1996
-
-
|
- -inline | -
appends a decimal representation of e to buf
-boundaries detail::dtoa_impl::compute_boundaries | -( | -FloatType | value | ) | -- |
Compute the (normalized) diyfp representing the input number 'value' and its boundaries.
-
-
|
- -inline | -
For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1.
- -
-
|
- -inline | -
prettify v = buf * 10^decimal_exponent
-If v is in the range [10^min_exp, 10^max_exp) it will be printed in fixed-point notation. Otherwise it will be printed in exponential notation.
-
-
|
- -inline | -
For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached power-of-ten c = f_c * 2^e_c, such that the exponent of the product w * c satisfies (Definition 3.2 from [1])
alpha <= e_c + e + q <= gamma. --
-
|
- -inline | -
v = buf * 10^decimal_exponent len is the length of the buffer (number of decimal digits) The buffer must be large enough, i.e. >= max_digits10.
- -void detail::dtoa_impl::grisu2 | -( | -char * | buf, | -
- | - | int & | len, | -
- | - | int & | decimal_exponent, | -
- | - | FloatType | value ) | -
v = buf * 10^decimal_exponent len is the length of the buffer (number of decimal digits) The buffer must be large enough, i.e. >= max_digits10.
- -
-
|
- -inline | -
Generates V = buffer * 10^decimal_exponent, such that M- <= V <= M+. M- and M+ must be normalized and share the same exponent -60 <= e <= -32.
- -- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
►Ndetail | Detail namespace with internal helper functions |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-StringRef | macroName |
-SourceLineInfo | lineInfo |
-StringRef | capturedExpression |
-ResultDisposition::Flags | resultDisposition |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::AssertionInfo, including all inherited members.
-capturedExpression (defined in Catch::AssertionInfo) | Catch::AssertionInfo | |
lineInfo (defined in Catch::AssertionInfo) | Catch::AssertionInfo | |
macroName (defined in Catch::AssertionInfo) | Catch::AssertionInfo | |
resultDisposition (defined in Catch::AssertionInfo) | Catch::AssertionInfo |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-bool | shouldDebugBreak = false |
-bool | shouldThrow = false |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::AssertionReaction, including all inherited members.
-shouldDebugBreak (defined in Catch::AssertionReaction) | Catch::AssertionReaction | |
shouldThrow (defined in Catch::AssertionReaction) | Catch::AssertionReaction |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | AutoReg (ITestInvoker *invoker, SourceLineInfo const &lineInfo, StringRef const &classOrMethod, NameAndTags const &nameAndTags) noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::AutoReg, including all inherited members.
-AutoReg(ITestInvoker *invoker, SourceLineInfo const &lineInfo, StringRef const &classOrMethod, NameAndTags const &nameAndTags) noexcept (defined in Catch::AutoReg) | Catch::AutoReg | |
NonCopyable() (defined in Catch::NonCopyable) | Catch::NonCopyable | protected |
~AutoReg() (defined in Catch::AutoReg) | Catch::AutoReg | |
~NonCopyable() (defined in Catch::NonCopyable) | Catch::NonCopyable | protectedvirtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | Choice { Yes -, No - } |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::CaseSensitive, including all inherited members.
-Choice enum name (defined in Catch::CaseSensitive) | Catch::CaseSensitive | |
No enum value (defined in Catch::CaseSensitive) | Catch::CaseSensitive | |
Yes enum value (defined in Catch::CaseSensitive) | Catch::CaseSensitive |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-Counts | operator- (Counts const &other) const |
-Counts & | operator+= (Counts const &other) |
-std::size_t | total () const |
-bool | allPassed () const |
-bool | allOk () const |
-Public Attributes | |
-std::size_t | passed = 0 |
-std::size_t | failed = 0 |
-std::size_t | failedButOk = 0 |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename T > | |
auto | operator<= (T const &lhs) -> ExprLhs< T const & > |
-auto | operator<= (bool value) -> ExprLhs< bool > |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Decomposer, including all inherited members.
-operator<=(T const &lhs) -> ExprLhs< T const & > (defined in Catch::Decomposer) | Catch::Decomposer | inline |
operator<=(bool value) -> ExprLhs< bool > (defined in Catch::Decomposer) | Catch::Decomposer | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-StringRef | lookup (int value) const |
-Public Attributes | |
-StringRef | m_name |
-std::vector< std::pair< int, StringRef > > | m_values |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Detail::EnumInfo, including all inherited members.
-lookup(int value) const (defined in Catch::Detail::EnumInfo) | Catch::Detail::EnumInfo | |
m_name (defined in Catch::Detail::EnumInfo) | Catch::Detail::EnumInfo | |
m_values (defined in Catch::Detail::EnumInfo) | Catch::Detail::EnumInfo | |
~EnumInfo() (defined in Catch::Detail::EnumInfo) | Catch::Detail::EnumInfo |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | type = T |
-Public Member Functions | |
-virtual T const & | get () const =0 |
Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase | |
-virtual bool | next ()=0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Generators::IGenerator< T >, including all inherited members.
-GeneratorUntypedBase()=default (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | |
get() const =0 (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | pure virtual |
next()=0 (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | pure virtual |
type typedef (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | |
~GeneratorUntypedBase() (defined in Catch::Generators::GeneratorUntypedBase) | Catch::Generators::GeneratorUntypedBase | virtual |
~IGenerator()=default (defined in Catch::Generators::IGenerator< T >) | Catch::Generators::IGenerator< T > | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IConfig, including all inherited members.
-abortAfter() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
allowThrows() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
benchmarkConfidenceInterval() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
benchmarkNoAnalysis() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
benchmarkResamples() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
benchmarkSamples() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
benchmarkWarmupTime() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
getSectionsToRun() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
getTestsOrTags() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
hasTestFilters() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
includeSuccessfulResults() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
minDuration() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
name() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
NonCopyable() (defined in Catch::NonCopyable) | Catch::NonCopyable | protected |
rngSeed() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
runOrder() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
shouldDebugBreak() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
showDurations() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
showInvisibles() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
stream() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
testSpec() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
useColour() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
verbosity() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
warnAboutMissingAssertions() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
warnAboutNoTests() const =0 (defined in Catch::IConfig) | Catch::IConfig | pure virtual |
~IConfig() (defined in Catch::IConfig) | Catch::IConfig | virtual |
~NonCopyable() (defined in Catch::NonCopyable) | Catch::NonCopyable | protectedvirtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual IResultCapture * | getResultCapture ()=0 |
-virtual IRunner * | getRunner ()=0 |
-virtual IConfigPtr const & | getConfig () const =0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IContext, including all inherited members.
-getConfig() const =0 (defined in Catch::IContext) | Catch::IContext | pure virtual |
getResultCapture()=0 (defined in Catch::IContext) | Catch::IContext | pure virtual |
getRunner()=0 (defined in Catch::IContext) | Catch::IContext | pure virtual |
~IContext() (defined in Catch::IContext) | Catch::IContext | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IExceptionTranslator, including all inherited members.
-translate(ExceptionTranslators::const_iterator it, ExceptionTranslators::const_iterator itEnd) const =0 (defined in Catch::IExceptionTranslator) | Catch::IExceptionTranslator | pure virtual |
~IExceptionTranslator() (defined in Catch::IExceptionTranslator) | Catch::IExceptionTranslator | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual std::string | translateActiveException () const =0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IExceptionTranslatorRegistry, including all inherited members.
-translateActiveException() const =0 (defined in Catch::IExceptionTranslatorRegistry) | Catch::IExceptionTranslatorRegistry | pure virtual |
~IExceptionTranslatorRegistry() (defined in Catch::IExceptionTranslatorRegistry) | Catch::IExceptionTranslatorRegistry | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IGeneratorTracker, including all inherited members.
-getGenerator() const -> Generators::GeneratorBasePtr const &=0 (defined in Catch::IGeneratorTracker) | Catch::IGeneratorTracker | pure virtual |
hasGenerator() const -> bool=0 (defined in Catch::IGeneratorTracker) | Catch::IGeneratorTracker | pure virtual |
setGenerator(Generators::GeneratorBasePtr &&generator)=0 (defined in Catch::IGeneratorTracker) | Catch::IGeneratorTracker | pure virtual |
~IGeneratorTracker() (defined in Catch::IGeneratorTracker) | Catch::IGeneratorTracker | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual void | setResultCapture (IResultCapture *resultCapture)=0 |
-virtual void | setRunner (IRunner *runner)=0 |
-virtual void | setConfig (IConfigPtr const &config)=0 |
Public Member Functions inherited from Catch::IContext | |
-virtual IResultCapture * | getResultCapture ()=0 |
-virtual IRunner * | getRunner ()=0 |
-virtual IConfigPtr const & | getConfig () const =0 |
-Friends | |
-IMutableContext & | getCurrentMutableContext () |
-void | cleanUpContext () |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IMutableContext, including all inherited members.
-cleanUpContext (defined in Catch::IMutableContext) | Catch::IMutableContext | friend |
getConfig() const =0 (defined in Catch::IContext) | Catch::IContext | pure virtual |
getCurrentMutableContext (defined in Catch::IMutableContext) | Catch::IMutableContext | friend |
getResultCapture()=0 (defined in Catch::IContext) | Catch::IContext | pure virtual |
getRunner()=0 (defined in Catch::IContext) | Catch::IContext | pure virtual |
setConfig(IConfigPtr const &config)=0 (defined in Catch::IMutableContext) | Catch::IMutableContext | pure virtual |
setResultCapture(IResultCapture *resultCapture)=0 (defined in Catch::IMutableContext) | Catch::IMutableContext | pure virtual |
setRunner(IRunner *runner)=0 (defined in Catch::IMutableContext) | Catch::IMutableContext | pure virtual |
~IContext() (defined in Catch::IContext) | Catch::IContext | virtual |
~IMutableContext() (defined in Catch::IMutableContext) | Catch::IMutableContext | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual Detail::EnumInfo const & | registerEnum (StringRef enumName, StringRef allEnums, std::vector< int > const &values)=0 |
-template<typename E > | |
Detail::EnumInfo const & | registerEnum (StringRef enumName, StringRef allEnums, std::initializer_list< E > values) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual void | registerReporter (std::string const &name, IReporterFactoryPtr const &factory)=0 |
-virtual void | registerListener (IReporterFactoryPtr const &factory)=0 |
-virtual void | registerTest (TestCase const &testInfo)=0 |
-virtual void | registerTranslator (const IExceptionTranslator *translator)=0 |
-virtual void | registerTagAlias (std::string const &alias, std::string const &tag, SourceLineInfo const &lineInfo)=0 |
-virtual void | registerStartupException () noexcept=0 |
-virtual IMutableEnumValuesRegistry & | getMutableEnumValuesRegistry ()=0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IMutableRegistryHub, including all inherited members.
-getMutableEnumValuesRegistry()=0 (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | pure virtual |
registerListener(IReporterFactoryPtr const &factory)=0 (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | pure virtual |
registerReporter(std::string const &name, IReporterFactoryPtr const &factory)=0 (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | pure virtual |
registerStartupException() noexcept=0 (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | pure virtual |
registerTagAlias(std::string const &alias, std::string const &tag, SourceLineInfo const &lineInfo)=0 (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | pure virtual |
registerTest(TestCase const &testInfo)=0 (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | pure virtual |
registerTranslator(const IExceptionTranslator *translator)=0 (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | pure virtual |
~IMutableRegistryHub() (defined in Catch::IMutableRegistryHub) | Catch::IMutableRegistryHub | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual IReporterRegistry const & | getReporterRegistry () const =0 |
-virtual ITestCaseRegistry const & | getTestCaseRegistry () const =0 |
-virtual ITagAliasRegistry const & | getTagAliasRegistry () const =0 |
-virtual IExceptionTranslatorRegistry const & | getExceptionTranslatorRegistry () const =0 |
-virtual StartupExceptionRegistry const & | getStartupExceptionRegistry () const =0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IRegistryHub, including all inherited members.
-getExceptionTranslatorRegistry() const =0 (defined in Catch::IRegistryHub) | Catch::IRegistryHub | pure virtual |
getReporterRegistry() const =0 (defined in Catch::IRegistryHub) | Catch::IRegistryHub | pure virtual |
getStartupExceptionRegistry() const =0 (defined in Catch::IRegistryHub) | Catch::IRegistryHub | pure virtual |
getTagAliasRegistry() const =0 (defined in Catch::IRegistryHub) | Catch::IRegistryHub | pure virtual |
getTestCaseRegistry() const =0 (defined in Catch::IRegistryHub) | Catch::IRegistryHub | pure virtual |
~IRegistryHub() (defined in Catch::IRegistryHub) | Catch::IRegistryHub | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual bool | sectionStarted (SectionInfo const §ionInfo, Counts &assertions)=0 |
-virtual void | sectionEnded (SectionEndInfo const &endInfo)=0 |
-virtual void | sectionEndedEarly (SectionEndInfo const &endInfo)=0 |
-virtual auto | acquireGeneratorTracker (StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker &=0 |
-virtual void | pushScopedMessage (MessageInfo const &message)=0 |
-virtual void | popScopedMessage (MessageInfo const &message)=0 |
-virtual void | emplaceUnscopedMessage (MessageBuilder const &builder)=0 |
-virtual void | handleFatalErrorCondition (StringRef message)=0 |
-virtual void | handleExpr (AssertionInfo const &info, ITransientExpression const &expr, AssertionReaction &reaction)=0 |
-virtual void | handleMessage (AssertionInfo const &info, ResultWas::OfType resultType, StringRef const &message, AssertionReaction &reaction)=0 |
-virtual void | handleUnexpectedExceptionNotThrown (AssertionInfo const &info, AssertionReaction &reaction)=0 |
-virtual void | handleUnexpectedInflightException (AssertionInfo const &info, std::string const &message, AssertionReaction &reaction)=0 |
-virtual void | handleIncomplete (AssertionInfo const &info)=0 |
-virtual void | handleNonExpr (AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction)=0 |
-virtual bool | lastAssertionPassed ()=0 |
-virtual void | assertionPassed ()=0 |
-virtual std::string | getCurrentTestName () const =0 |
-virtual const AssertionResult * | getLastResult () const =0 |
-virtual void | exceptionEarlyReported ()=0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IResultCapture, including all inherited members.
-acquireGeneratorTracker(StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker &=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
assertionPassed()=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
emplaceUnscopedMessage(MessageBuilder const &builder)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
exceptionEarlyReported()=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
getCurrentTestName() const =0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
getLastResult() const =0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
handleExpr(AssertionInfo const &info, ITransientExpression const &expr, AssertionReaction &reaction)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
handleFatalErrorCondition(StringRef message)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
handleIncomplete(AssertionInfo const &info)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
handleMessage(AssertionInfo const &info, ResultWas::OfType resultType, StringRef const &message, AssertionReaction &reaction)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
handleNonExpr(AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
handleUnexpectedExceptionNotThrown(AssertionInfo const &info, AssertionReaction &reaction)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
handleUnexpectedInflightException(AssertionInfo const &info, std::string const &message, AssertionReaction &reaction)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
lastAssertionPassed()=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
popScopedMessage(MessageInfo const &message)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
pushScopedMessage(MessageInfo const &message)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
sectionEnded(SectionEndInfo const &endInfo)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
sectionEndedEarly(SectionEndInfo const &endInfo)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
sectionStarted(SectionInfo const §ionInfo, Counts &assertions)=0 (defined in Catch::IResultCapture) | Catch::IResultCapture | pure virtual |
~IResultCapture() (defined in Catch::IResultCapture) | Catch::IResultCapture | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual bool | aborting () const =0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IRunner, including all inherited members.
-aborting() const =0 (defined in Catch::IRunner) | Catch::IRunner | pure virtual |
~IRunner() (defined in Catch::IRunner) | Catch::IRunner | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual std::ostream & | stream () const =0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::IStream, including all inherited members.
-stream() const =0 (defined in Catch::IStream) | Catch::IStream | pure virtual |
~IStream() (defined in Catch::IStream) | Catch::IStream | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ITestCaseRegistry, including all inherited members.
-getAllTests() const =0 (defined in Catch::ITestCaseRegistry) | Catch::ITestCaseRegistry | pure virtual |
getAllTestsSorted(IConfig const &config) const =0 (defined in Catch::ITestCaseRegistry) | Catch::ITestCaseRegistry | pure virtual |
~ITestCaseRegistry() (defined in Catch::ITestCaseRegistry) | Catch::ITestCaseRegistry | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual void | invoke () const =0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ITestInvoker, including all inherited members.
-invoke() const =0 (defined in Catch::ITestInvoker) | Catch::ITestInvoker | pure virtual |
~ITestInvoker() (defined in Catch::ITestInvoker) | Catch::ITestInvoker | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-bool | m_isBinaryExpression |
-bool | m_result |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ITransientExpression, including all inherited members.
-getResult() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
isBinaryExpression() const -> bool (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
ITransientExpression(bool isBinaryExpression, bool result) (defined in Catch::ITransientExpression) | Catch::ITransientExpression | inline |
m_isBinaryExpression (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
m_result (defined in Catch::ITransientExpression) | Catch::ITransientExpression | |
streamReconstructedExpression(std::ostream &os) const =0 (defined in Catch::ITransientExpression) | Catch::ITransientExpression | pure virtual |
~ITransientExpression() (defined in Catch::ITransientExpression) | Catch::ITransientExpression | virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | WithinAbsMatcher (double target, double margin) |
-bool | match (double const &matchee) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -overridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Floating::WithinAbsMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | WithinRelMatcher (double target, double epsilon) |
-bool | match (double const &matchee) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -overridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Floating::WithinRelMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | WithinUlpsMatcher (double target, uint64_t ulps, FloatingPointKind baseType) |
-bool | match (double const &matchee) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -overridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Floating::WithinUlpsMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-bool | match (ArgT const &arg) const override |
std::string | describe () const override |
-MatchAllOf< ArgT > | operator&& (MatcherBase< ArgT > const &other) |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< ArgT > | |
-MatchAllOf< ArgT > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< ArgT > | operator|| (MatcherBase const &other) const |
-MatchNotOf< ArgT > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< ObjectT > | |
-virtual bool | match (ObjectT const &arg) const =0 |
-Public Attributes | |
-std::vector< MatcherBase< ArgT > const * > | m_matchers |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Impl::MatchAllOf< ArgT >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-bool | match (ArgT const &arg) const override |
std::string | describe () const override |
-MatchAnyOf< ArgT > | operator|| (MatcherBase< ArgT > const &other) |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< ArgT > | |
-MatchAllOf< ArgT > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< ArgT > | operator|| (MatcherBase const &other) const |
-MatchNotOf< ArgT > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< ObjectT > | |
-virtual bool | match (ObjectT const &arg) const =0 |
-Public Attributes | |
-std::vector< MatcherBase< ArgT > const * > | m_matchers |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Impl::MatchAnyOf< ArgT >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | MatchNotOf (MatcherBase< ArgT > const &underlyingMatcher) |
-bool | match (ArgT const &arg) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< ArgT > | |
-MatchAllOf< ArgT > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< ArgT > | operator|| (MatcherBase const &other) const |
-MatchNotOf< ArgT > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< ObjectT > | |
-virtual bool | match (ObjectT const &arg) const =0 |
-Public Attributes | |
-MatcherBase< ArgT > const & | m_underlyingMatcher |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-virtual std::string | describe () const =0 |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Impl::MatcherBase< T >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-virtual bool | match (ObjectT const &arg) const =0 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Impl::MatcherMethod< ObjectT >, including all inherited members.
-match(ObjectT const &arg) const =0 (defined in Catch::Matchers::Impl::MatcherMethod< ObjectT >) | Catch::Matchers::Impl::MatcherMethod< ObjectT > | pure virtual |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-CaseSensitive::Choice | m_caseSensitivity |
-std::string | m_str |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | ContainsMatcher (CasedString const &comparator) |
-bool | match (std::string const &source) const override |
Public Member Functions inherited from Catch::Matchers::StdString::StringMatcherBase | |
- | StringMatcherBase (std::string const &operation, CasedString const &comparator) |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Public Attributes inherited from Catch::Matchers::StdString::StringMatcherBase | |
-CasedString | m_comparator |
-std::string | m_operation |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::StdString::ContainsMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | EndsWithMatcher (CasedString const &comparator) |
-bool | match (std::string const &source) const override |
Public Member Functions inherited from Catch::Matchers::StdString::StringMatcherBase | |
- | StringMatcherBase (std::string const &operation, CasedString const &comparator) |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Public Attributes inherited from Catch::Matchers::StdString::StringMatcherBase | |
-CasedString | m_comparator |
-std::string | m_operation |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | EqualsMatcher (CasedString const &comparator) |
-bool | match (std::string const &source) const override |
Public Member Functions inherited from Catch::Matchers::StdString::StringMatcherBase | |
- | StringMatcherBase (std::string const &operation, CasedString const &comparator) |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Public Attributes inherited from Catch::Matchers::StdString::StringMatcherBase | |
-CasedString | m_comparator |
-std::string | m_operation |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::StdString::EqualsMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::StdString::RegexMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | StartsWithMatcher (CasedString const &comparator) |
-bool | match (std::string const &source) const override |
Public Member Functions inherited from Catch::Matchers::StdString::StringMatcherBase | |
- | StringMatcherBase (std::string const &operation, CasedString const &comparator) |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Public Attributes inherited from Catch::Matchers::StdString::StringMatcherBase | |
-CasedString | m_comparator |
-std::string | m_operation |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::StdString::StartsWithMatcher, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::StdString::StringMatcherBase, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | ApproxMatcher (std::vector< T, AllocComp > const &comparator) |
-bool | match (std::vector< T, AllocMatch > const &v) const override |
std::string | describe () const override |
-template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
ApproxMatcher & | epsilon (T const &newEpsilon) |
-template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
ApproxMatcher & | margin (T const &newMargin) |
-template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> | |
ApproxMatcher & | scale (T const &newScale) |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Public Attributes | |
-std::vector< T, AllocComp > const & | m_comparator |
-Catch::Detail::Approx | approx = Catch::Detail::Approx::custom() |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | ContainsElementMatcher (T const &comparator) |
-bool | match (std::vector< T, Alloc > const &v) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Public Attributes | |
-T const & | m_comparator |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | ContainsMatcher (std::vector< T, AllocComp > const &comparator) |
-bool | match (std::vector< T, AllocMatch > const &v) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Public Attributes | |
-std::vector< T, AllocComp > const & | m_comparator |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Vector::ContainsMatcher< T, AllocComp, AllocMatch >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | EqualsMatcher (std::vector< T, AllocComp > const &comparator) |
-bool | match (std::vector< T, AllocMatch > const &v) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Public Attributes | |
-std::vector< T, AllocComp > const & | m_comparator |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Vector::EqualsMatcher< T, AllocComp, AllocMatch >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | UnorderedEqualsMatcher (std::vector< T, AllocComp > const &target) |
-bool | match (std::vector< T, AllocMatch > const &vec) const override |
std::string | describe () const override |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
-MatchAllOf< T > | operator&& (MatcherBase const &other) const |
-MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
-MatchNotOf< T > | operator! () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
- | MatcherUntypedBase (MatcherUntypedBase const &)=default |
-MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
-std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
-virtual bool | match (T const &arg) const=0 |
-Additional Inherited Members | |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
-std::string | m_cachedToString |
-
|
- -inlineoverridevirtual | -
Implements Catch::Matchers::Impl::MatcherUntypedBase.
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Matchers::Vector::UnorderedEqualsMatcher< T, AllocComp, AllocMatch >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | MessageBuilder (StringRef const ¯oName, SourceLineInfo const &lineInfo, ResultWas::OfType type) |
-template<typename T > | |
MessageBuilder & | operator<< (T const &value) |
-Public Attributes | |
-MessageInfo | m_info |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | MessageInfo (StringRef const &_macroName, SourceLineInfo const &_lineInfo, ResultWas::OfType _type) |
-bool | operator== (MessageInfo const &other) const |
-bool | operator< (MessageInfo const &other) const |
-Public Attributes | |
-StringRef | macroName |
-std::string | message |
-SourceLineInfo | lineInfo |
-ResultWas::OfType | type |
-unsigned int | sequence |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::MessageInfo, including all inherited members.
-lineInfo (defined in Catch::MessageInfo) | Catch::MessageInfo | |
macroName (defined in Catch::MessageInfo) | Catch::MessageInfo | |
message (defined in Catch::MessageInfo) | Catch::MessageInfo | |
MessageInfo(StringRef const &_macroName, SourceLineInfo const &_lineInfo, ResultWas::OfType _type) (defined in Catch::MessageInfo) | Catch::MessageInfo | |
operator<(MessageInfo const &other) const (defined in Catch::MessageInfo) | Catch::MessageInfo | |
operator==(MessageInfo const &other) const (defined in Catch::MessageInfo) | Catch::MessageInfo | |
sequence (defined in Catch::MessageInfo) | Catch::MessageInfo | |
type (defined in Catch::MessageInfo) | Catch::MessageInfo |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename T > | |
MessageStream & | operator<< (T const &value) |
-Public Attributes | |
-ReusableStringStream | m_stream |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | NameAndTags (StringRef const &name_=StringRef(), StringRef const &tags_=StringRef()) noexcept |
-Public Attributes | |
-StringRef | name |
-StringRef | tags |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::NameAndTags, including all inherited members.
-name (defined in Catch::NameAndTags) | Catch::NameAndTags | |
NameAndTags(StringRef const &name_=StringRef(), StringRef const &tags_=StringRef()) noexcept (defined in Catch::NameAndTags) | Catch::NameAndTags | |
tags (defined in Catch::NameAndTags) | Catch::NameAndTags |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | RegistrarForTagAliases (char const *alias, char const *tag, SourceLineInfo const &lineInfo) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | Flags { Normal = 0x01 -, ContinueOnFailure = 0x02 -, FalseTest = 0x04 -, SuppressFail = 0x08 - } |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ResultDisposition, including all inherited members.
-ContinueOnFailure enum value (defined in Catch::ResultDisposition) | Catch::ResultDisposition | |
FalseTest enum value (defined in Catch::ResultDisposition) | Catch::ResultDisposition | |
Flags enum name (defined in Catch::ResultDisposition) | Catch::ResultDisposition | |
Normal enum value (defined in Catch::ResultDisposition) | Catch::ResultDisposition | |
SuppressFail enum value (defined in Catch::ResultDisposition) | Catch::ResultDisposition |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | InWhatOrder { InDeclarationOrder -, InLexicographicalOrder -, InRandomOrder - } |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::RunTests, including all inherited members.
-InDeclarationOrder enum value (defined in Catch::RunTests) | Catch::RunTests | |
InLexicographicalOrder enum value (defined in Catch::RunTests) | Catch::RunTests | |
InRandomOrder enum value (defined in Catch::RunTests) | Catch::RunTests | |
InWhatOrder enum name (defined in Catch::RunTests) | Catch::RunTests |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-SectionInfo | sectionInfo |
-Counts | prevAssertions |
-double | durationInSeconds |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::SectionEndInfo, including all inherited members.
-durationInSeconds (defined in Catch::SectionEndInfo) | Catch::SectionEndInfo | |
prevAssertions (defined in Catch::SectionEndInfo) | Catch::SectionEndInfo | |
sectionInfo (defined in Catch::SectionEndInfo) | Catch::SectionEndInfo |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | SectionInfo (SourceLineInfo const &_lineInfo, std::string const &_name) |
- | SectionInfo (SourceLineInfo const &_lineInfo, std::string const &_name, std::string const &) |
-Public Attributes | |
-std::string | name |
-std::string | description |
-SourceLineInfo | lineInfo |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::SectionInfo, including all inherited members.
-description (defined in Catch::SectionInfo) | Catch::SectionInfo | |
lineInfo (defined in Catch::SectionInfo) | Catch::SectionInfo | |
name (defined in Catch::SectionInfo) | Catch::SectionInfo | |
SectionInfo(SourceLineInfo const &_lineInfo, std::string const &_name) (defined in Catch::SectionInfo) | Catch::SectionInfo | |
SectionInfo(SourceLineInfo const &_lineInfo, std::string const &_name, std::string const &) (defined in Catch::SectionInfo) | Catch::SectionInfo | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | OrNot { DefaultForReporter -, Always -, Never - } |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::ShowDurations, including all inherited members.
-Always enum value (defined in Catch::ShowDurations) | Catch::ShowDurations | |
DefaultForReporter enum value (defined in Catch::ShowDurations) | Catch::ShowDurations | |
Never enum value (defined in Catch::ShowDurations) | Catch::ShowDurations | |
OrNot enum name (defined in Catch::ShowDurations) | Catch::ShowDurations |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | SourceLineInfo (char const *_file, std::size_t _line) noexcept |
- | SourceLineInfo (SourceLineInfo const &other)=default |
-SourceLineInfo & | operator= (SourceLineInfo const &)=default |
- | SourceLineInfo (SourceLineInfo &&) noexcept=default |
-SourceLineInfo & | operator= (SourceLineInfo &&) noexcept=default |
-bool | empty () const noexcept |
-bool | operator== (SourceLineInfo const &other) const noexcept |
-bool | operator< (SourceLineInfo const &other) const noexcept |
-Public Attributes | |
-char const * | file |
-std::size_t | line |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::SourceLineInfo, including all inherited members.
-empty() const noexcept (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | inline |
file (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
line (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
operator<(SourceLineInfo const &other) const noexcept (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
operator=(SourceLineInfo const &)=default (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
operator=(SourceLineInfo &&) noexcept=default (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
operator==(SourceLineInfo const &other) const noexcept (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
SourceLineInfo()=delete (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
SourceLineInfo(char const *_file, std::size_t _line) noexcept (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | inline |
SourceLineInfo(SourceLineInfo const &other)=default (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo | |
SourceLineInfo(SourceLineInfo &&) noexcept=default (defined in Catch::SourceLineInfo) | Catch::SourceLineInfo |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-std::string | operator+ () const |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StreamEndStop, including all inherited members.
-operator+() const (defined in Catch::StreamEndStop) | Catch::StreamEndStop |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< T, typename >, including all inherited members.
-convert(const Fake &value) (defined in Catch::StringMaker< T, typename >) | Catch::StringMaker< T, typename > | inlinestatic |
convert(const Fake &value) (defined in Catch::StringMaker< T, typename >) | Catch::StringMaker< T, typename > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (Catch::Detail::Approx const &value) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< Catch::Detail::Approx >, including all inherited members.
-convert(Catch::Detail::Approx const &value) (defined in Catch::StringMaker< Catch::Detail::Approx >) | Catch::StringMaker< Catch::Detail::Approx > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (R const &range) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (R C::*p) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< R C::* >, including all inherited members.
-convert(R C::*p) (defined in Catch::StringMaker< R C::* >) | Catch::StringMaker< R C::* > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename U > | |
static std::string | convert (U *p) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< T * >, including all inherited members.
-convert(U *p) (defined in Catch::StringMaker< T * >) | Catch::StringMaker< T * > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (T const(&arr)[SZ]) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< T[SZ]>, including all inherited members.
-convert(T const(&arr)[SZ]) (defined in Catch::StringMaker< T[SZ]>) | Catch::StringMaker< T[SZ]> | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (bool b) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< bool >, including all inherited members.
-convert(bool b) (defined in Catch::StringMaker< bool >) | Catch::StringMaker< bool > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (char c) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< char >, including all inherited members.
-convert(char c) (defined in Catch::StringMaker< char >) | Catch::StringMaker< char > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (char *str) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< char * >, including all inherited members.
-convert(char *str) (defined in Catch::StringMaker< char * >) | Catch::StringMaker< char * > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (char const *str) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (char const *str) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< char[SZ]>, including all inherited members.
-convert(char const *str) (defined in Catch::StringMaker< char[SZ]>) | Catch::StringMaker< char[SZ]> | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (double value) |
-Static Public Attributes | |
-static int | precision |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< double >, including all inherited members.
-convert(double value) (defined in Catch::StringMaker< double >) | Catch::StringMaker< double > | static |
precision (defined in Catch::StringMaker< double >) | Catch::StringMaker< double > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (float value) |
-Static Public Attributes | |
-static int | precision |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< float >, including all inherited members.
-convert(float value) (defined in Catch::StringMaker< float >) | Catch::StringMaker< float > | static |
precision (defined in Catch::StringMaker< float >) | Catch::StringMaker< float > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (int value) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< int >, including all inherited members.
-convert(int value) (defined in Catch::StringMaker< int >) | Catch::StringMaker< int > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (long value) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (long long value) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< long long >, including all inherited members.
-convert(long long value) (defined in Catch::StringMaker< long long >) | Catch::StringMaker< long long > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (signed char c) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< signed char >, including all inherited members.
-convert(signed char c) (defined in Catch::StringMaker< signed char >) | Catch::StringMaker< signed char > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (signed char const *str) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (std::nullptr_t) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< std::nullptr_t >, including all inherited members.
-convert(std::nullptr_t) (defined in Catch::StringMaker< std::nullptr_t >) | Catch::StringMaker< std::nullptr_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< std::string >, including all inherited members.
-convert(const std::string &str) (defined in Catch::StringMaker< std::string >) | Catch::StringMaker< std::string > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (const std::wstring &wstr) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< std::wstring >, including all inherited members.
-convert(const std::wstring &wstr) (defined in Catch::StringMaker< std::wstring >) | Catch::StringMaker< std::wstring > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (unsigned char c) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< unsigned char >, including all inherited members.
-convert(unsigned char c) (defined in Catch::StringMaker< unsigned char >) | Catch::StringMaker< unsigned char > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (unsigned char const *str) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< unsigned char[SZ]>, including all inherited members.
-convert(unsigned char const *str) (defined in Catch::StringMaker< unsigned char[SZ]>) | Catch::StringMaker< unsigned char[SZ]> | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (unsigned int value) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< unsigned int >, including all inherited members.
-convert(unsigned int value) (defined in Catch::StringMaker< unsigned int >) | Catch::StringMaker< unsigned int > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (unsigned long value) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< unsigned long >, including all inherited members.
-convert(unsigned long value) (defined in Catch::StringMaker< unsigned long >) | Catch::StringMaker< unsigned long > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (unsigned long long value) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< unsigned long long >, including all inherited members.
-convert(unsigned long long value) (defined in Catch::StringMaker< unsigned long long >) | Catch::StringMaker< unsigned long long > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (wchar_t *str) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< wchar_t * >, including all inherited members.
-convert(wchar_t *str) (defined in Catch::StringMaker< wchar_t * >) | Catch::StringMaker< wchar_t * > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static std::string | convert (wchar_t const *str) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::StringMaker< wchar_t const * >, including all inherited members.
-convert(wchar_t const *str) (defined in Catch::StringMaker< wchar_t const * >) | Catch::StringMaker< wchar_t const * > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | SpecialProperties { - None = 0 -, IsHidden = 1 << 1 -, ShouldFail = 1 << 2 -, MayFail = 1 << 3 -, - Throws = 1 << 4 -, NonPortable = 1 << 5 -, Benchmark = 1 << 6 - - } |
-Public Member Functions | |
- | TestCaseInfo (std::string const &_name, std::string const &_className, std::string const &_description, std::vector< std::string > const &_tags, SourceLineInfo const &_lineInfo) |
-bool | isHidden () const |
-bool | throws () const |
-bool | okToFail () const |
-bool | expectedToFail () const |
-std::string | tagsAsString () const |
-Public Attributes | |
-std::string | name |
-std::string | className |
-std::string | description |
-std::vector< std::string > | tags |
-std::vector< std::string > | lcaseTags |
-SourceLineInfo | lineInfo |
-SpecialProperties | properties |
-Friends | |
-void | setTags (TestCaseInfo &testCaseInfo, std::vector< std::string > tags) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::TestCaseInfo, including all inherited members.
-Benchmark enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
className (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
description (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
expectedToFail() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
IsHidden enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
isHidden() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
lcaseTags (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
lineInfo (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
MayFail enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
name (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
None enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
NonPortable enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
okToFail() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
properties (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
setTags (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | friend |
ShouldFail enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
SpecialProperties enum name (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
tags (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
tagsAsString() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
TestCaseInfo(std::string const &_name, std::string const &_className, std::string const &_description, std::vector< std::string > const &_tags, SourceLineInfo const &_lineInfo) (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
Throws enum value (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo | |
throws() const (defined in Catch::TestCaseInfo) | Catch::TestCaseInfo |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-Totals | operator- (Totals const &other) const |
-Totals & | operator+= (Totals const &other) |
-Totals | delta (Totals const &prevTotals) const |
-Public Attributes | |
-int | error = 0 |
-Counts | assertions |
-Counts | testCases |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::Totals, including all inherited members.
-assertions (defined in Catch::Totals) | Catch::Totals | |
delta(Totals const &prevTotals) const (defined in Catch::Totals) | Catch::Totals | |
error (defined in Catch::Totals) | Catch::Totals | |
operator+=(Totals const &other) (defined in Catch::Totals) | Catch::Totals | |
operator-(Totals const &other) const (defined in Catch::Totals) | Catch::Totals | |
testCases (defined in Catch::Totals) | Catch::Totals |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | YesOrNo { Auto -, Yes -, No - } |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::UseColour, including all inherited members.
-Auto enum value (defined in Catch::UseColour) | Catch::UseColour | |
No enum value (defined in Catch::UseColour) | Catch::UseColour | |
Yes enum value (defined in Catch::UseColour) | Catch::UseColour | |
YesOrNo enum name (defined in Catch::UseColour) | Catch::UseColour |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::WaitForKeypress, including all inherited members.
-BeforeExit enum value (defined in Catch::WaitForKeypress) | Catch::WaitForKeypress | |
BeforeStart enum value (defined in Catch::WaitForKeypress) | Catch::WaitForKeypress | |
BeforeStartAndExit enum value (defined in Catch::WaitForKeypress) | Catch::WaitForKeypress | |
Never enum value (defined in Catch::WaitForKeypress) | Catch::WaitForKeypress | |
When enum name (defined in Catch::WaitForKeypress) | Catch::WaitForKeypress |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | What { Nothing = 0x00 -, NoAssertions = 0x01 -, NoTests = 0x02 - } |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::WarnAbout, including all inherited members.
-NoAssertions enum value (defined in Catch::WarnAbout) | Catch::WarnAbout | |
NoTests enum value (defined in Catch::WarnAbout) | Catch::WarnAbout | |
Nothing enum value (defined in Catch::WarnAbout) | Catch::WarnAbout | |
What enum name (defined in Catch::WarnAbout) | Catch::WarnAbout |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | type = void |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::detail::void_type<... >, including all inherited members.
-type typedef (defined in Catch::detail::void_type<... >) | Catch::detail::void_type<... > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename Fun , typename... Args> | |
static true_given< decltype(std::declval< Fun >()(std::declval< Args >()...))> | test (int) |
-template<typename... > | |
static std::false_type | test (...) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::is_callable_tester, including all inherited members.
-test(int) (defined in Catch::is_callable_tester) | Catch::is_callable_tester | static |
test(...) (defined in Catch::is_callable_tester) | Catch::is_callable_tester | static |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for Catch::pluralise, including all inherited members.
-m_count (defined in Catch::pluralise) | Catch::pluralise | |
m_label (defined in Catch::pluralise) | Catch::pluralise | |
operator<< (defined in Catch::pluralise) | Catch::pluralise | friend |
pluralise(std::size_t count, std::string const &label) (defined in Catch::pluralise) | Catch::pluralise |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
namespace for Niels Lohmann - More...
- -#include <json.hpp>
-Static Public Member Functions | |
template<typename BasicJsonType , typename TargetType = ValueType> | |
static auto | from_json (BasicJsonType &&j, TargetType &val) noexcept(noexcept(::nlohmann::from_json(std::forward< BasicJsonType >(j), val))) -> decltype(::nlohmann::from_json(std::forward< BasicJsonType >(j), val), void()) |
convert a JSON value to any value type | |
template<typename BasicJsonType , typename TargetType = ValueType> | |
static auto | from_json (BasicJsonType &&j) noexcept(noexcept(::nlohmann::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType > {}))) -> decltype(::nlohmann::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType > {})) |
convert a JSON value to any value type | |
template<typename BasicJsonType , typename TargetType = ValueType> | |
static auto | to_json (BasicJsonType &j, TargetType &&val) noexcept(noexcept(::nlohmann::to_json(j, std::forward< TargetType >(val)))) -> decltype(::nlohmann::to_json(j, std::forward< TargetType >(val)), void()) |
convert any value type to a JSON value | |
namespace for Niels Lohmann
-default JSONSerializer template argument
-This serializer ignores the template arguments and uses ADL (argument-dependent lookup) for serialization.
- -
-
|
- -inlinestaticnoexcept | -
convert a JSON value to any value type
- - -
-
|
- -inlinestaticnoexcept | -
convert a JSON value to any value type
- - -
-
|
- -inlinestaticnoexcept | -
convert any value type to a JSON value
- - -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for adl_serializer< ValueType, typename >, including all inherited members.
-from_json(BasicJsonType &&j, TargetType &val) noexcept(noexcept(::nlohmann::from_json(std::forward< BasicJsonType >(j), val))) -> decltype(::nlohmann::from_json(std::forward< BasicJsonType >(j), val), void()) | adl_serializer< ValueType, typename > | inlinestatic |
from_json(BasicJsonType &&j) noexcept(noexcept(::nlohmann::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType > {}))) -> decltype(::nlohmann::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType > {})) | adl_serializer< ValueType, typename > | inlinestatic |
to_json(BasicJsonType &j, TargetType &&val) noexcept(noexcept(::nlohmann::to_json(j, std::forward< TargetType >(val)))) -> decltype(::nlohmann::to_json(j, std::forward< TargetType >(val)), void()) | adl_serializer< ValueType, typename > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | object_t = typename BasicJsonType::object_t |
-using | object_comparator_t = typename BasicJsonType::default_object_comparator_t |
using | type |
using detail::actual_object_comparator< BasicJsonType >::type | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::actual_object_comparator< BasicJsonType >, including all inherited members.
-object_comparator_t typedef (defined in detail::actual_object_comparator< BasicJsonType >) | detail::actual_object_comparator< BasicJsonType > | |
object_t typedef (defined in detail::actual_object_comparator< BasicJsonType >) | detail::actual_object_comparator< BasicJsonType > | |
type typedef (defined in detail::actual_object_comparator< BasicJsonType >) | detail::actual_object_comparator< BasicJsonType > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | char_type = signed char |
-using | int_type = uint64_t |
-Static Public Member Functions | |
-static int_type | to_int_type (char_type c) noexcept |
-static char_type | to_char_type (int_type i) noexcept |
-static constexpr int_type | eof () noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::char_traits< signed char >, including all inherited members.
-char_type typedef (defined in detail::char_traits< signed char >) | detail::char_traits< signed char > | |
eof() noexcept (defined in detail::char_traits< signed char >) | detail::char_traits< signed char > | inlinestatic |
int_type typedef (defined in detail::char_traits< signed char >) | detail::char_traits< signed char > | |
to_char_type(int_type i) noexcept (defined in detail::char_traits< signed char >) | detail::char_traits< signed char > | inlinestatic |
to_int_type(char_type c) noexcept (defined in detail::char_traits< signed char >) | detail::char_traits< signed char > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | char_type = unsigned char |
-using | int_type = uint64_t |
-Static Public Member Functions | |
-static int_type | to_int_type (char_type c) noexcept |
-static char_type | to_char_type (int_type i) noexcept |
-static constexpr int_type | eof () noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::container_input_adapter_factory_impl::container_input_adapter_factory< ContainerType, void_t< decltype(begin(std::declval< ContainerType >()), end(std::declval< ContainerType >()))> >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | adapter_type = decltype(input_adapter(begin(std::declval<ContainerType>()), end(std::declval<ContainerType>()))) |
-Static Public Member Functions | |
-static adapter_type | create (const ContainerType &container) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | value_t = std::false_type |
-using | type = Default |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::detector< Default, AlwaysVoid, Op, Args >, including all inherited members.
-type typedef (defined in detail::detector< Default, AlwaysVoid, Op, Args >) | detail::detector< Default, AlwaysVoid, Op, Args > | |
value_t typedef (defined in detail::detector< Default, AlwaysVoid, Op, Args >) | detail::detector< Default, AlwaysVoid, Op, Args > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | value_t = std::true_type |
-using | type = Op<Args...> |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::detector< Default, void_t< Op< Args... > >, Op, Args... >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-diyfp | w |
-diyfp | minus |
-diyfp | plus |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::dtoa_impl::boundaries, including all inherited members.
-minus (defined in detail::dtoa_impl::boundaries) | detail::dtoa_impl::boundaries | |
plus (defined in detail::dtoa_impl::boundaries) | detail::dtoa_impl::boundaries | |
w (defined in detail::dtoa_impl::boundaries) | detail::dtoa_impl::boundaries |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-std::uint64_t | f |
-int | e |
-int | k |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::dtoa_impl::cached_power, including all inherited members.
-e (defined in detail::dtoa_impl::cached_power) | detail::dtoa_impl::cached_power | |
f (defined in detail::dtoa_impl::cached_power) | detail::dtoa_impl::cached_power | |
k (defined in detail::dtoa_impl::cached_power) | detail::dtoa_impl::cached_power |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-constexpr | diyfp (std::uint64_t f_, int e_) noexcept |
-Static Public Member Functions | |
static diyfp | sub (const diyfp &x, const diyfp &y) noexcept |
returns x - y | |
static diyfp | mul (const diyfp &x, const diyfp &y) noexcept |
returns x * y | |
static diyfp | normalize (diyfp x) noexcept |
normalize x such that the significand is >= 2^(q-1) | |
static diyfp | normalize_to (const diyfp &x, const int target_exponent) noexcept |
normalize x such that the result has the exponent E | |
-Public Attributes | |
-std::uint64_t | f = 0 |
-int | e = 0 |
-Static Public Attributes | |
-static constexpr int | kPrecision = 64 |
-
|
- -inlinestaticnoexcept | -
returns x * y
-
-
|
- -inlinestaticnoexcept | -
normalize x such that the significand is >= 2^(q-1)
-
-
|
- -inlinestaticnoexcept | -
normalize x such that the result has the exponent E
-
-
|
- -inlinestaticnoexcept | -
returns x - y
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::dtoa_impl::diyfp, including all inherited members.
-diyfp(std::uint64_t f_, int e_) noexcept (defined in detail::dtoa_impl::diyfp) | detail::dtoa_impl::diyfp | inline |
e (defined in detail::dtoa_impl::diyfp) | detail::dtoa_impl::diyfp | |
f (defined in detail::dtoa_impl::diyfp) | detail::dtoa_impl::diyfp | |
kPrecision (defined in detail::dtoa_impl::diyfp) | detail::dtoa_impl::diyfp | static |
mul(const diyfp &x, const diyfp &y) noexcept | detail::dtoa_impl::diyfp | inlinestatic |
normalize(diyfp x) noexcept | detail::dtoa_impl::diyfp | inlinestatic |
normalize_to(const diyfp &x, const int target_exponent) noexcept | detail::dtoa_impl::diyfp | inlinestatic |
sub(const diyfp &x, const diyfp &y) noexcept | detail::dtoa_impl::diyfp | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, const typename BasicJsonType::array_t &arr) |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, typename BasicJsonType::array_t &&arr) |
-template<typename BasicJsonType , typename CompatibleArrayType , enable_if_t< !std::is_same< CompatibleArrayType, typename BasicJsonType::array_t >::value, int > = 0> | |
static void | construct (BasicJsonType &j, const CompatibleArrayType &arr) |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, const std::vector< bool > &arr) |
-template<typename BasicJsonType , typename T , enable_if_t< std::is_convertible< T, BasicJsonType >::value, int > = 0> | |
static void | construct (BasicJsonType &j, const std::valarray< T > &arr) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::external_constructor< value_t::array >, including all inherited members.
-construct(BasicJsonType &j, const typename BasicJsonType::array_t &arr) (defined in detail::external_constructor< value_t::array >) | detail::external_constructor< value_t::array > | inlinestatic |
construct(BasicJsonType &j, typename BasicJsonType::array_t &&arr) (defined in detail::external_constructor< value_t::array >) | detail::external_constructor< value_t::array > | inlinestatic |
construct(BasicJsonType &j, const CompatibleArrayType &arr) (defined in detail::external_constructor< value_t::array >) | detail::external_constructor< value_t::array > | inlinestatic |
construct(BasicJsonType &j, const std::vector< bool > &arr) (defined in detail::external_constructor< value_t::array >) | detail::external_constructor< value_t::array > | inlinestatic |
construct(BasicJsonType &j, const std::valarray< T > &arr) (defined in detail::external_constructor< value_t::array >) | detail::external_constructor< value_t::array > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, const typename BasicJsonType::binary_t &b) |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, typename BasicJsonType::binary_t &&b) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::external_constructor< value_t::binary >, including all inherited members.
-construct(BasicJsonType &j, const typename BasicJsonType::binary_t &b) (defined in detail::external_constructor< value_t::binary >) | detail::external_constructor< value_t::binary > | inlinestatic |
construct(BasicJsonType &j, typename BasicJsonType::binary_t &&b) (defined in detail::external_constructor< value_t::binary >) | detail::external_constructor< value_t::binary > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, typename BasicJsonType::boolean_t b) noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::external_constructor< value_t::boolean >, including all inherited members.
-construct(BasicJsonType &j, typename BasicJsonType::boolean_t b) noexcept (defined in detail::external_constructor< value_t::boolean >) | detail::external_constructor< value_t::boolean > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::external_constructor< value_t::number_float >, including all inherited members.
-construct(BasicJsonType &j, typename BasicJsonType::number_float_t val) noexcept (defined in detail::external_constructor< value_t::number_float >) | detail::external_constructor< value_t::number_float > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, typename BasicJsonType::number_integer_t val) noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::external_constructor< value_t::number_integer >, including all inherited members.
-construct(BasicJsonType &j, typename BasicJsonType::number_integer_t val) noexcept (defined in detail::external_constructor< value_t::number_integer >) | detail::external_constructor< value_t::number_integer > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, typename BasicJsonType::number_unsigned_t val) noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::external_constructor< value_t::number_unsigned >, including all inherited members.
-construct(BasicJsonType &j, typename BasicJsonType::number_unsigned_t val) noexcept (defined in detail::external_constructor< value_t::number_unsigned >) | detail::external_constructor< value_t::number_unsigned > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, const typename BasicJsonType::object_t &obj) |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, typename BasicJsonType::object_t &&obj) |
-template<typename BasicJsonType , typename CompatibleObjectType , enable_if_t< !std::is_same< CompatibleObjectType, typename BasicJsonType::object_t >::value, int > = 0> | |
static void | construct (BasicJsonType &j, const CompatibleObjectType &obj) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::external_constructor< value_t::object >, including all inherited members.
-construct(BasicJsonType &j, const typename BasicJsonType::object_t &obj) (defined in detail::external_constructor< value_t::object >) | detail::external_constructor< value_t::object > | inlinestatic |
construct(BasicJsonType &j, typename BasicJsonType::object_t &&obj) (defined in detail::external_constructor< value_t::object >) | detail::external_constructor< value_t::object > | inlinestatic |
construct(BasicJsonType &j, const CompatibleObjectType &obj) (defined in detail::external_constructor< value_t::object >) | detail::external_constructor< value_t::object > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, const typename BasicJsonType::string_t &s) |
-template<typename BasicJsonType > | |
static void | construct (BasicJsonType &j, typename BasicJsonType::string_t &&s) |
-template<typename BasicJsonType , typename CompatibleStringType , enable_if_t< !std::is_same< CompatibleStringType, typename BasicJsonType::string_t >::value, int > = 0> | |
static void | construct (BasicJsonType &j, const CompatibleStringType &str) |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename BasicJsonType , typename T > | |
auto | operator() (const BasicJsonType &j, T &&val) const noexcept(noexcept(from_json(j, std::forward< T >(val)))) -> decltype(from_json(j, std::forward< T >(val))) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::from_json_fn, including all inherited members.
-operator()(const BasicJsonType &j, T &&val) const noexcept(noexcept(from_json(j, std::forward< T >(val)))) -> decltype(from_json(j, std::forward< T >(val))) (defined in detail::from_json_fn) | detail::from_json_fn | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::has_from_json< BasicJsonType, T, enable_if_t< !is_basic_json< T >::value > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | serializer = typename BasicJsonType::template json_serializer<T, void> |
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | serializer = typename BasicJsonType::template json_serializer<T, void> |
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::has_non_default_from_json< BasicJsonType, T, enable_if_t< !is_basic_json< T >::value > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | serializer = typename BasicJsonType::template json_serializer<T, void> |
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | value_type = T |
-Static Public Member Functions | |
-static constexpr std::size_t | size () noexcept |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::integer_sequence< T, Ints >, including all inherited members.
-size() noexcept (defined in detail::integer_sequence< T, Ints >) | detail::integer_sequence< T, Ints > | inlinestatic |
value_type typedef (defined in detail::integer_sequence< T, Ints >) | detail::integer_sequence< T, Ints > |
- |
- AlgoPlus v0.1.0
-
- |
-
an iterator value - More...
- -#include <json.hpp>
-Public Attributes | |
-BasicJsonType::object_t::iterator | object_iterator {} |
iterator for JSON objects | |
-BasicJsonType::array_t::iterator | array_iterator {} |
iterator for JSON arrays | |
-primitive_iterator_t | primitive_iterator {} |
generic iterator for all other types | |
an iterator value
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::internal_iterator< BasicJsonType >, including all inherited members.
-array_iterator | detail::internal_iterator< BasicJsonType > | |
object_iterator | detail::internal_iterator< BasicJsonType > | |
primitive_iterator | detail::internal_iterator< BasicJsonType > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | RealLimits = std::numeric_limits<RealIntegerType> |
-using | CompatibleLimits = std::numeric_limits<CompatibleNumberIntegerType> |
-Static Public Attributes | |
static constexpr auto | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_compatible_integer_type_impl< RealIntegerType, CompatibleNumberIntegerType, enable_if_t< std::is_integral< RealIntegerType >::value &&std::is_integral< CompatibleNumberIntegerType >::value &&!std::is_same< bool, CompatibleNumberIntegerType >::value > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | object_t = typename BasicJsonType::object_t |
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_compatible_object_type_impl< BasicJsonType, CompatibleObjectType, enable_if_t< is_detected< mapped_type_t, CompatibleObjectType >::value &&is_detected< key_type_t, CompatibleObjectType >::value > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
static constexpr auto | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_compatible_string_type< BasicJsonType, CompatibleStringType >, including all inherited members.
-value (defined in detail::is_compatible_string_type< BasicJsonType, CompatibleStringType >) | detail::is_compatible_string_type< BasicJsonType, CompatibleStringType > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_compatible_type_impl< BasicJsonType, CompatibleType, enable_if_t< is_complete_type< CompatibleType >::value > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | value_type = range_value_t<ConstructibleArrayType> |
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_constructible_object_type_impl< BasicJsonType, ConstructibleObjectType, enable_if_t< is_detected< mapped_type_t, ConstructibleObjectType >::value &&is_detected< key_type_t, ConstructibleObjectType >::value > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | object_t = typename BasicJsonType::object_t |
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | laundered_type = ConstructibleStringType |
-Static Public Attributes | |
static constexpr auto | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_constructible_string_type< BasicJsonType, ConstructibleStringType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static constexpr bool | value = is_detected<get_template_function, const BasicJsonType&, T>::value |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_getable< BasicJsonType, T >, including all inherited members.
-value (defined in detail::is_getable< BasicJsonType, T >) | detail::is_getable< BasicJsonType, T > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
enum | |
-using | value_type = typename std::iterator_traits<T>::value_type |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_iterator_of_multibyte< T >, including all inherited members.
-value_type typedef (defined in detail::is_iterator_of_multibyte< T >) | detail::is_iterator_of_multibyte< T > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
static constexpr auto | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_iterator_traits< iterator_traits< T > >, including all inherited members.
-value (defined in detail::is_iterator_traits< iterator_traits< T > >) | detail::is_iterator_traits< iterator_traits< T > > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Classes | |
struct | two |
-Public Types | |
enum | { value = sizeof(test<T>(nullptr)) == sizeof(char) - } |
-using | one = char |
-Static Public Member Functions | |
-template<typename C > | |
static one | test (decltype(&C::capacity)) |
-template<typename C > | |
static two | test (...) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_ordered_map< T >, including all inherited members.
-one typedef (defined in detail::is_ordered_map< T >) | detail::is_ordered_map< T > | |
test(decltype(&C::capacity)) (defined in detail::is_ordered_map< T >) | detail::is_ordered_map< T > | static |
test(...) (defined in detail::is_ordered_map< T >) | detail::is_ordered_map< T > | static |
value enum value (defined in detail::is_ordered_map< T >) | detail::is_ordered_map< T > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Attributes | |
-char | x [2] |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_ordered_map< T >::two, including all inherited members.
-x (defined in detail::is_ordered_map< T >::two) | detail::is_ordered_map< T >::two |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static constexpr bool | value = !std::is_same<iterator, nonesuch>::value && !std::is_same<sentinel, nonesuch>::value && is_iterator_begin |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_range< T >, including all inherited members.
-value (defined in detail::is_range< T >) | detail::is_range< T > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
static constexpr bool | value |
-
|
- -staticconstexpr | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_sax< SAX, BasicJsonType >, including all inherited members.
-value (defined in detail::is_sax< SAX, BasicJsonType >) | detail::is_sax< SAX, BasicJsonType > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::is_sax_static_asserts< SAX, BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | iterator_type = IteratorType |
-using | char_type = typename std::iterator_traits<iterator_type>::value_type |
-using | adapter_type = iterator_input_adapter<iterator_type> |
-Static Public Member Functions | |
-static adapter_type | create (IteratorType first, IteratorType last) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iterator_input_adapter_factory< IteratorType, Enable >, including all inherited members.
-adapter_type typedef (defined in detail::iterator_input_adapter_factory< IteratorType, Enable >) | detail::iterator_input_adapter_factory< IteratorType, Enable > | |
char_type typedef (defined in detail::iterator_input_adapter_factory< IteratorType, Enable >) | detail::iterator_input_adapter_factory< IteratorType, Enable > | |
create(IteratorType first, IteratorType last) (defined in detail::iterator_input_adapter_factory< IteratorType, Enable >) | detail::iterator_input_adapter_factory< IteratorType, Enable > | inlinestatic |
iterator_type typedef (defined in detail::iterator_input_adapter_factory< IteratorType, Enable >) | detail::iterator_input_adapter_factory< IteratorType, Enable > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | iterator_type = IteratorType |
-using | char_type = typename std::iterator_traits<iterator_type>::value_type |
-using | base_adapter_type = iterator_input_adapter<iterator_type> |
-using | adapter_type = wide_string_input_adapter<base_adapter_type, char_type> |
-Static Public Member Functions | |
-static adapter_type | create (IteratorType first, IteratorType last) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iterator_input_adapter_factory< IteratorType, enable_if_t< is_iterator_of_multibyte< IteratorType >::value > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | iterator_category = std::random_access_iterator_tag |
-using | value_type = T |
-using | difference_type = ptrdiff_t |
-using | pointer = T* |
-using | reference = T& |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > >, including all inherited members.
-difference_type typedef (defined in detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > >) | detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > > | |
iterator_category typedef (defined in detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > >) | detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > > | |
pointer typedef (defined in detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > >) | detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > > | |
reference typedef (defined in detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > >) | detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > > | |
value_type typedef (defined in detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > >) | detail::iterator_traits< T *, enable_if_t< std::is_object< T >::value > > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | difference_type = typename It::difference_type |
-using | value_type = typename It::value_type |
-using | pointer = typename It::pointer |
-using | reference = typename It::reference |
-using | iterator_category = typename It::iterator_category |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::iterator_types< It, void_t< typename It::difference_type, typename It::value_type, typename It::pointer, typename It::reference, typename It::iterator_category > >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
Default base class of the basic_json class. - More...
- -#include <json.hpp>
Default base class of the basic_json class.
-So that the correct implementations of the copy / move ctors / assign operators of basic_json do not require complex case distinctions (no base class / custom base class used as customization point), basic_json always has a base class. By default, this class is used because it is empty and thus has no effect on the behavior of basic_json.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | type = void |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::make_void< Ts >, including all inherited members.
-type typedef (defined in detail::make_void< Ts >) | detail::make_void< Ts > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
- | nonesuch (nonesuch const &)=delete |
- | nonesuch (nonesuch const &&)=delete |
-void | operator= (nonesuch const &)=delete |
-void | operator= (nonesuch &&)=delete |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::nonesuch, including all inherited members.
-nonesuch()=delete (defined in detail::nonesuch) | detail::nonesuch | |
nonesuch(nonesuch const &)=delete (defined in detail::nonesuch) | detail::nonesuch | |
nonesuch(nonesuch const &&)=delete (defined in detail::nonesuch) | detail::nonesuch | |
operator=(nonesuch const &)=delete (defined in detail::nonesuch) | detail::nonesuch | |
operator=(nonesuch &&)=delete (defined in detail::nonesuch) | detail::nonesuch | |
~nonesuch()=delete (defined in detail::nonesuch) | detail::nonesuch |
- |
- AlgoPlus v0.1.0
-
- |
-
abstract output adapter interface - More...
- -#include <json.hpp>
-Public Member Functions | |
-virtual void | write_character (CharType c)=0 |
-virtual void | write_characters (const CharType *s, std::size_t length)=0 |
- | output_adapter_protocol (const output_adapter_protocol &)=default |
- | output_adapter_protocol (output_adapter_protocol &&) noexcept=default |
-output_adapter_protocol & | operator= (const output_adapter_protocol &)=default |
-output_adapter_protocol & | operator= (output_adapter_protocol &&) noexcept=default |
abstract output adapter interface
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::output_adapter_protocol< CharType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
struct to capture the start position of the current token - More...
- -#include <json.hpp>
-Public Member Functions | |
-constexpr | operator size_t () const |
conversion to size_t to preserve SAX interface | |
struct to capture the start position of the current token
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::position_t, including all inherited members.
-chars_read_current_line | detail::position_t | |
chars_read_total | detail::position_t | |
lines_read | detail::position_t | |
operator size_t() const | detail::position_t | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static JSON_INLINE_VARIABLE constexpr T | value {} |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::static_const< T >, including all inherited members.
-value (defined in detail::static_const< T >) | detail::static_const< T > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename BasicJsonType , typename T > | |
auto | operator() (BasicJsonType &j, T &&val) const noexcept(noexcept(to_json(j, std::forward< T >(val)))) -> decltype(to_json(j, std::forward< T >(val)), void()) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::to_json_fn, including all inherited members.
-operator()(BasicJsonType &j, T &&val) const noexcept(noexcept(to_json(j, std::forward< T >(val)))) -> decltype(to_json(j, std::forward< T >(val)), void()) (defined in detail::to_json_fn) | detail::to_json_fn | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | type = integer_sequence < T, Ints..., (Ints + SeqSize)... > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | type = integer_sequence < T, Ints..., (Ints + SeqSize)..., 2 * SeqSize > |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::utility_internal::Extend< integer_sequence< T, Ints... >, SeqSize, 1 >, including all inherited members.
-type typedef (defined in detail::utility_internal::Extend< integer_sequence< T, Ints... >, SeqSize, 1 >) | detail::utility_internal::Extend< integer_sequence< T, Ints... >, SeqSize, 1 > |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::utility_internal::Extend< integer_sequence< T, Ints... >, SeqSize, 0 >, including all inherited members.
-type typedef (defined in detail::utility_internal::Extend< integer_sequence< T, Ints... >, SeqSize, 0 >) | detail::utility_internal::Extend< integer_sequence< T, Ints... >, SeqSize, 0 > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
using | type |
using detail::utility_internal::Gen< T, N >::type | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::utility_internal::Gen< T, N >, including all inherited members.
-type typedef (defined in detail::utility_internal::Gen< T, N >) | detail::utility_internal::Gen< T, N > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-using | type = integer_sequence<T> |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::utility_internal::Gen< T, 0 >, including all inherited members.
-type typedef (defined in detail::utility_internal::Gen< T, 0 >) | detail::utility_internal::Gen< T, 0 > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static constexpr bool | test (T val) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::value_in_range_of_impl1< OfType, T, false >, including all inherited members.
-test(T val) (defined in detail::value_in_range_of_impl1< OfType, T, false >) | detail::value_in_range_of_impl1< OfType, T, false > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static constexpr bool | test (T) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::value_in_range_of_impl1< OfType, T, true >, including all inherited members.
-test(T) (defined in detail::value_in_range_of_impl1< OfType, T, true >) | detail::value_in_range_of_impl1< OfType, T, true > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static constexpr bool | test (T val) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::value_in_range_of_impl2< OfType, T, false, false >, including all inherited members.
-test(T val) (defined in detail::value_in_range_of_impl2< OfType, T, false, false >) | detail::value_in_range_of_impl2< OfType, T, false, false > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static constexpr bool | test (T val) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::value_in_range_of_impl2< OfType, T, false, true >, including all inherited members.
-test(T val) (defined in detail::value_in_range_of_impl2< OfType, T, false, true >) | detail::value_in_range_of_impl2< OfType, T, false, true > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static constexpr bool | test (T val) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::value_in_range_of_impl2< OfType, T, true, false >, including all inherited members.
-test(T val) (defined in detail::value_in_range_of_impl2< OfType, T, true, false >) | detail::value_in_range_of_impl2< OfType, T, true, false > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static constexpr bool | test (T val) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::value_in_range_of_impl2< OfType, T, true, true >, including all inherited members.
-test(T val) (defined in detail::value_in_range_of_impl2< OfType, T, true, true >) | detail::value_in_range_of_impl2< OfType, T, true, true > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static void | fill_buffer (BaseInputAdapter &input, std::array< std::char_traits< char >::int_type, 4 > &utf8_bytes, size_t &utf8_bytes_index, size_t &utf8_bytes_filled) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::wide_string_input_helper< BaseInputAdapter, 2 >, including all inherited members.
-fill_buffer(BaseInputAdapter &input, std::array< std::char_traits< char >::int_type, 4 > &utf8_bytes, size_t &utf8_bytes_index, size_t &utf8_bytes_filled) (defined in detail::wide_string_input_helper< BaseInputAdapter, 2 >) | detail::wide_string_input_helper< BaseInputAdapter, 2 > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Member Functions | |
-static void | fill_buffer (BaseInputAdapter &input, std::array< std::char_traits< char >::int_type, 4 > &utf8_bytes, size_t &utf8_bytes_index, size_t &utf8_bytes_filled) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for detail::wide_string_input_helper< BaseInputAdapter, 4 >, including all inherited members.
-fill_buffer(BaseInputAdapter &input, std::array< std::char_traits< char >::int_type, 4 > &utf8_bytes, size_t &utf8_bytes_index, size_t &utf8_bytes_filled) (defined in detail::wide_string_input_helper< BaseInputAdapter, 4 >) | detail::wide_string_input_helper< BaseInputAdapter, 4 > | inlinestatic |
- |
- AlgoPlus v0.1.0
-
- |
-
SAX interface. - More...
- -#include <json.hpp>
-Public Member Functions | |
virtual bool | null ()=0 |
a null value was read | |
virtual bool | boolean (bool val)=0 |
a boolean value was read | |
virtual bool | number_integer (number_integer_t val)=0 |
an integer number was read | |
virtual bool | number_unsigned (number_unsigned_t val)=0 |
an unsigned integer number was read | |
virtual bool | number_float (number_float_t val, const string_t &s)=0 |
a floating-point number was read | |
virtual bool | string (string_t &val)=0 |
a string value was read | |
virtual bool | binary (binary_t &val)=0 |
a binary value was read | |
virtual bool | start_object (std::size_t elements)=0 |
the beginning of an object was read | |
virtual bool | key (string_t &val)=0 |
an object key was read | |
virtual bool | end_object ()=0 |
the end of an object was read | |
virtual bool | start_array (std::size_t elements)=0 |
the beginning of an array was read | |
virtual bool | end_array ()=0 |
the end of an array was read | |
virtual bool | parse_error (std::size_t position, const std::string &last_token, const detail::exception &ex)=0 |
a parse error occurred | |
- | json_sax (const json_sax &)=default |
- | json_sax (json_sax &&) noexcept=default |
-json_sax & | operator= (const json_sax &)=default |
-json_sax & | operator= (json_sax &&) noexcept=default |
SAX interface.
-This class describes the SAX interface used by nlohmann::json::sax_parse. Each function is called in different situations while the input is parsed. The boolean return value informs the parser whether to continue processing the input.
-
-
|
- -pure virtual | -
a binary value was read
-[in] | val | binary value |
-
|
- -pure virtual | -
a boolean value was read
-[in] | val | boolean value |
-
|
- -pure virtual | -
the end of an array was read
-
-
|
- -pure virtual | -
the end of an object was read
-
-
|
- -pure virtual | -
an object key was read
-[in] | val | object key |
-
|
- -pure virtual | -
a null value was read
-
-
|
- -pure virtual | -
a floating-point number was read
-[in] | val | floating-point value |
[in] | s | raw token value |
-
|
- -pure virtual | -
an integer number was read
-[in] | val | integer value |
-
|
- -pure virtual | -
an unsigned integer number was read
-[in] | val | unsigned integer value |
-
|
- -pure virtual | -
a parse error occurred
-[in] | position | the position in the input where the error occurs |
[in] | last_token | the last read token |
[in] | ex | an exception object describing the error |
-
|
- -pure virtual | -
the beginning of an array was read
-[in] | elements | number of array elements or -1 if unknown |
-
|
- -pure virtual | -
the beginning of an object was read
-[in] | elements | number of object elements or -1 if unknown |
-
|
- -pure virtual | -
a string value was read
-[in] | val | string value |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for json_sax< BasicJsonType >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-PyObject * | safe_import (PyObject *module, std::string fname) |
-Static Public Member Functions | |
-static _interpreter & | get () |
-static _interpreter & | kill () |
-static _interpreter & | interkeeper (bool should_kill) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::_interpreter, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-typedef is_callable_impl< std::is_class< T >::value, T >::type | type |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::is_callable< T >, including all inherited members.
-type typedef (defined in matplotlibcpp::detail::is_callable< T >) | matplotlibcpp::detail::is_callable< T > |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Types | |
-typedef is_function< T > | type |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::is_callable_impl< false, T >, including all inherited members.
-type typedef (defined in matplotlibcpp::detail::is_callable_impl< false, T >) | matplotlibcpp::detail::is_callable_impl< false, T > |
- |
- AlgoPlus v0.1.0
-
- |
-
-Classes | |
struct | Check |
struct | Derived |
struct | Fallback |
-Public Types | |
-typedef decltype(test< Derived >(nullptr)) | type |
-typedef decltype(&Fallback::operator()) | dtype |
-Static Public Attributes | |
-static constexpr bool | value = type::value |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::is_callable_impl< true, T >, including all inherited members.
-dtype typedef (defined in matplotlibcpp::detail::is_callable_impl< true, T >) | matplotlibcpp::detail::is_callable_impl< true, T > | |
test(...) (defined in matplotlibcpp::detail::is_callable_impl< true, T >) | matplotlibcpp::detail::is_callable_impl< true, T > | static |
test(Check< void(Fallback::*)(), &U::operator()> *) (defined in matplotlibcpp::detail::is_callable_impl< true, T >) | matplotlibcpp::detail::is_callable_impl< true, T > | static |
type typedef (defined in matplotlibcpp::detail::is_callable_impl< true, T >) | matplotlibcpp::detail::is_callable_impl< true, T > | |
value (defined in matplotlibcpp::detail::is_callable_impl< true, T >) | matplotlibcpp::detail::is_callable_impl< true, T > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Additional Inherited Members | |
Public Member Functions inherited from matplotlibcpp::detail::is_callable_impl< true, T >::Fallback | |
-void | operator() () |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::is_callable_impl< true, T >::Derived, including all inherited members.
-operator()() (defined in matplotlibcpp::detail::is_callable_impl< true, T >::Fallback) | matplotlibcpp::detail::is_callable_impl< true, T >::Fallback |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-void | operator() () |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::is_callable_impl< true, T >::Fallback, including all inherited members.
-operator()() (defined in matplotlibcpp::detail::is_callable_impl< true, T >::Fallback) | matplotlibcpp::detail::is_callable_impl< true, T >::Fallback |
- |
- AlgoPlus v0.1.0
-
- |
-
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename IterableX , typename IterableY > | |
bool | operator() (const IterableX &x, const IterableY &y, const std::string &format) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::plot_impl< std::false_type >, including all inherited members.
-operator()(const IterableX &x, const IterableY &y, const std::string &format) (defined in matplotlibcpp::detail::plot_impl< std::false_type >) | matplotlibcpp::detail::plot_impl< std::false_type > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
-template<typename Iterable , typename Callable > | |
bool | operator() (const Iterable &ticks, const Callable &f, const std::string &format) |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::plot_impl< std::true_type >, including all inherited members.
-operator()(const Iterable &ticks, const Callable &f, const std::string &format) (defined in matplotlibcpp::detail::plot_impl< std::true_type >) | matplotlibcpp::detail::plot_impl< std::true_type > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_NOTYPE |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< T >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< T >) | matplotlibcpp::detail::select_npy_type< T > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_BOOL |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< bool >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< bool >) | matplotlibcpp::detail::select_npy_type< bool > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_DOUBLE |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< double >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< double >) | matplotlibcpp::detail::select_npy_type< double > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_FLOAT |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< float >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< float >) | matplotlibcpp::detail::select_npy_type< float > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_SHORT |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< int16_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< int16_t >) | matplotlibcpp::detail::select_npy_type< int16_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_INT |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< int32_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< int32_t >) | matplotlibcpp::detail::select_npy_type< int32_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_INT64 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< int64_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< int64_t >) | matplotlibcpp::detail::select_npy_type< int64_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_INT8 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< int8_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< int8_t >) | matplotlibcpp::detail::select_npy_type< int8_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_INT64 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< long long >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< long long >) | matplotlibcpp::detail::select_npy_type< long long > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_USHORT |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< uint16_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< uint16_t >) | matplotlibcpp::detail::select_npy_type< uint16_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_ULONG |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< uint32_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< uint32_t >) | matplotlibcpp::detail::select_npy_type< uint32_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_UINT64 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< uint64_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< uint64_t >) | matplotlibcpp::detail::select_npy_type< uint64_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_UINT8 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< uint8_t >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< uint8_t >) | matplotlibcpp::detail::select_npy_type< uint8_t > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
-Static Public Attributes | |
-static const NPY_TYPES | type = NPY_UINT64 |
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for matplotlibcpp::detail::select_npy_type< unsigned long long >, including all inherited members.
-type (defined in matplotlibcpp::detail::select_npy_type< unsigned long long >) | matplotlibcpp::detail::select_npy_type< unsigned long long > | static |
- |
- AlgoPlus v0.1.0
-
- |
-
a minimal map-like container that preserves insertion order - More...
- -#include <json.hpp>
-Public Types | |
-using | key_type = Key |
-using | mapped_type = T |
-using | Container = std::vector<std::pair<const Key, T>, Allocator> |
-using | iterator = typename Container::iterator |
-using | const_iterator = typename Container::const_iterator |
-using | size_type = typename Container::size_type |
-using | value_type = typename Container::value_type |
-using | key_compare = std::equal_to<Key> |
template<typename InputIt > | |
using | require_input_iter |
a minimal map-like container that preserves insertion order
- -ordered_map: a minimal map-like container that preserves insertion order for use within nlohmann::basic_json<ordered_map>
-using ordered_map< Key, T, IgnoredLess, Allocator >::require_input_iter | -
- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for ordered_map< Key, T, IgnoredLess, Allocator >, including all inherited members.
-- |
- AlgoPlus v0.1.0
-
- |
-
hash value for JSON objects - More...
- -#include <json.hpp>
-Public Member Functions | |
-std::size_t | operator() (const nlohmann::NLOHMANN_BASIC_JSON_TPL &j) const |
hash value for JSON objects
- -- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for std::hash< nlohmann::NLOHMANN_BASIC_JSON_TPL >, including all inherited members.
-operator()(const nlohmann::NLOHMANN_BASIC_JSON_TPL &j) const (defined in std::hash< nlohmann::NLOHMANN_BASIC_JSON_TPL >) | std::hash< nlohmann::NLOHMANN_BASIC_JSON_TPL > | inline |
- |
- AlgoPlus v0.1.0
-
- |
-
-Public Member Functions | |
bool | operator() (::nlohmann::detail::value_t lhs, ::nlohmann::detail::value_t rhs) const noexcept |
compare two value_t enum values | |
-
|
- -inlinenoexcept | -
compare two value_t enum values
-- |
- AlgoPlus v0.1.0
-
- |
-
This is the complete list of members for std::less< ::nlohmann::detail::value_t >, including all inherited members.
-operator()(::nlohmann::detail::value_t lhs, ::nlohmann::detail::value_t rhs) const noexcept | std::less< ::nlohmann::detail::value_t > | inline |