Lucene++ - a full-featured, c++ search engine
API Documentation


Loading...
Searching...
No Matches
Lucene::VariantUtils Class Reference

#include <VariantUtils.h>

Static Public Member Functions

template<typename TYPE>
static TYPE get (const boost::any &var)
template<typename TYPE, typename VAR>
static TYPE get (VAR var)
template<typename TYPE, typename VAR>
static bool typeOf (VAR var)
static VariantNull null ()
static bool isNull (const boost::any &var)
template<typename VAR>
static bool isNull (VAR var)
template<typename VAR>
static int32_t hashCode (VAR var)
template<typename FIRST, typename SECOND>
static bool equalsType (FIRST first, SECOND second)
template<typename FIRST, typename SECOND>
static bool equals (FIRST first, SECOND second)
template<typename VAR>
static int32_t compareTo (VAR first, VAR second)

Member Function Documentation

◆ compareTo()

template<typename VAR>
int32_t Lucene::VariantUtils::compareTo ( VAR first,
VAR second )
inlinestatic

◆ equals()

template<typename FIRST, typename SECOND>
bool Lucene::VariantUtils::equals ( FIRST first,
SECOND second )
inlinestatic

◆ equalsType()

template<typename FIRST, typename SECOND>
bool Lucene::VariantUtils::equalsType ( FIRST first,
SECOND second )
inlinestatic

◆ get() [1/2]

template<typename TYPE>
TYPE Lucene::VariantUtils::get ( const boost::any & var)
inlinestatic

Referenced by hashCode().

◆ get() [2/2]

template<typename TYPE, typename VAR>
TYPE Lucene::VariantUtils::get ( VAR var)
inlinestatic

◆ hashCode()

template<typename VAR>
int32_t Lucene::VariantUtils::hashCode ( VAR var)
inlinestatic

◆ isNull() [1/2]

bool Lucene::VariantUtils::isNull ( const boost::any & var)
inlinestatic

◆ isNull() [2/2]

template<typename VAR>
bool Lucene::VariantUtils::isNull ( VAR var)
inlinestatic

References typeOf().

◆ null()

VariantNull Lucene::VariantUtils::null ( )
inlinestatic

◆ typeOf()

template<typename TYPE, typename VAR>
bool Lucene::VariantUtils::typeOf ( VAR var)
inlinestatic

Referenced by hashCode(), and isNull().


The documentation for this class was generated from the following file:

clucene.sourceforge.net