MIRA
Functions
mira::Private::rpc Namespace Reference

Functions

template<typename... Args, typename... Descriptions>
constexpr std::enable_if<((sizeof...(Args)) *3 !=sizeof...(Descriptions)) &&((sizeof...(Args)) *2 !=sizeof...(Descriptions)), bool >::type correctPattern (ArgumentTuple< Args... > a, ArgumentTuple< Descriptions... > b)
 
constexpr bool correctPattern (ArgumentTuple<> a, ArgumentTuple<> b)
 
template<typename HeadArg , typename... TailArgs, typename Name , typename Description , typename Example , typename... TailDocs>
constexpr std::enable_if<(sizeof...(TailArgs)) *3==sizeof...(TailDocs), bool >::type correctPattern (ArgumentTuple< HeadArg, TailArgs... > a, ArgumentTuple< Name, Description, Example, TailDocs... > b)
 
template<typename HeadArg , typename... TailArgs, typename Name , typename Description , typename... TailDocs>
constexpr std::enable_if<(sizeof...(TailArgs)) *2==sizeof...(TailDocs), bool >::type correctPattern (ArgumentTuple< HeadArg, TailArgs... > a, ArgumentTuple< Name, Description, TailDocs... > b)
 
template<typename HeadArg , typename... TailArgs>
constexpr bool correctPattern (ArgumentTuple< HeadArg, TailArgs... > a, ArgumentTuple<> b)
 
template<typename F , typename Comment , typename... Description>
constexpr std::enable_if<!FunctionTraits< F >::isFunction, bool >::type isValid ()
 
template<typename F , typename Comment , typename... Description>
constexpr std::enable_if< FunctionTraits< F >::isFunction, bool >::type isValid ()
 
template<typename T >
void assertName ()
 
template<typename T >
void assertDescription ()
 
template<typename ARG , typename EXAMPLE >
void assertExample ()
 
template<typename... Args, typename... Docs>
std::enable_if<((sizeof...(Args)) *3 !=sizeof...(Docs)) &&((sizeof...(Args)) *2 !=sizeof...(Docs))>::type patternError (ArgumentTuple< Args... > a, ArgumentTuple< Docs... > b)
 
void patternError (ArgumentTuple<> a, ArgumentTuple<> b)
 
template<typename HeadArg , typename... TailArgs, typename Name , typename Description , typename Example , typename... TailDocs>
std::enable_if<(sizeof...(TailArgs)) *3==sizeof...(TailDocs)>::type patternError (ArgumentTuple< HeadArg, TailArgs... > a, ArgumentTuple< Name, Description, Example, TailDocs... > b)
 
template<typename HeadArg , typename... TailArgs, typename Name , typename Description , typename... TailDocs>
std::enable_if<(sizeof...(TailArgs)) *2==sizeof...(TailDocs)>::type patternError (ArgumentTuple< HeadArg, TailArgs... > a, ArgumentTuple< Name, Description, TailDocs... > b)
 
template<typename F , typename Comment , typename... Description>
constexpr std::enable_if<!FunctionTraits< F >::isFunction >::type invalidAssertion ()
 
template<typename F , typename Comment , typename... Description>
constexpr std::enable_if< FunctionTraits< F >::isFunction >::type invalidAssertion ()
 

Function Documentation

◆ correctPattern() [1/5]

constexpr std::enable_if<((sizeof...(Args)) * 3 != sizeof...(Descriptions)) && ((sizeof...(Args)) * 2 != sizeof...(Descriptions)), bool>::type mira::Private::rpc::correctPattern ( ArgumentTuple< Args... >  a,
ArgumentTuple< Descriptions... >  b 
)

◆ correctPattern() [2/5]

constexpr bool mira::Private::rpc::correctPattern ( ArgumentTuple<>  a,
ArgumentTuple<>  b 
)

◆ correctPattern() [3/5]

constexpr std::enable_if<(sizeof...(TailArgs)) * 3 == sizeof...(TailDocs), bool>::type mira::Private::rpc::correctPattern ( ArgumentTuple< HeadArg, TailArgs... >  a,
ArgumentTuple< Name, Description, Example, TailDocs... >  b 
)

◆ correctPattern() [4/5]

constexpr std::enable_if<(sizeof...(TailArgs)) * 2 == sizeof...(TailDocs), bool>::type mira::Private::rpc::correctPattern ( ArgumentTuple< HeadArg, TailArgs... >  a,
ArgumentTuple< Name, Description, TailDocs... >  b 
)

◆ correctPattern() [5/5]

constexpr bool mira::Private::rpc::correctPattern ( ArgumentTuple< HeadArg, TailArgs... >  a,
ArgumentTuple<>  b 
)

◆ isValid() [1/2]

constexpr std::enable_if<!FunctionTraits<F>::isFunction, bool>::type mira::Private::rpc::isValid ( )

◆ isValid() [2/2]

constexpr std::enable_if<FunctionTraits<F>::isFunction, bool>::type mira::Private::rpc::isValid ( )

◆ assertName()

void mira::Private::rpc::assertName ( )

◆ assertDescription()

void mira::Private::rpc::assertDescription ( )

◆ assertExample()

void mira::Private::rpc::assertExample ( )

◆ patternError() [1/4]

std::enable_if<((sizeof...(Args)) * 3 != sizeof...(Docs)) && ((sizeof...(Args)) * 2 != sizeof...(Docs))>::type mira::Private::rpc::patternError ( ArgumentTuple< Args... >  a,
ArgumentTuple< Docs... >  b 
)

◆ patternError() [2/4]

void mira::Private::rpc::patternError ( ArgumentTuple<>  a,
ArgumentTuple<>  b 
)
inline

◆ patternError() [3/4]

std::enable_if<(sizeof...(TailArgs)) * 3 == sizeof...(TailDocs)>::type mira::Private::rpc::patternError ( ArgumentTuple< HeadArg, TailArgs... >  a,
ArgumentTuple< Name, Description, Example, TailDocs... >  b 
)

◆ patternError() [4/4]

std::enable_if<(sizeof...(TailArgs)) * 2 == sizeof...(TailDocs)>::type mira::Private::rpc::patternError ( ArgumentTuple< HeadArg, TailArgs... >  a,
ArgumentTuple< Name, Description, TailDocs... >  b 
)

◆ invalidAssertion() [1/2]

constexpr std::enable_if<!FunctionTraits<F>::isFunction>::type mira::Private::rpc::invalidAssertion ( )

◆ invalidAssertion() [2/2]

constexpr std::enable_if<FunctionTraits<F>::isFunction>::type mira::Private::rpc::invalidAssertion ( )