Ubuntu TV Media Scanner
A centralized index for removable media content.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
mediascanner::GenericProperty< PropertyType, ValueType >::Private Class Reference

#include <mediascanner/propertyprivate.h>

+ Inheritance diagram for mediascanner::GenericProperty< PropertyType, ValueType >::Private:

Public Types

typedef Property::Private inhertied
 

Public Member Functions

 Private (const String &field_name, const MetadataKey &metadata_key, Category category, MergeStrategy merge_strategy, const StreamInfoFunction &merge_stream_info)
 
- Public Member Functions inherited from mediascanner::Property::Private
 Private (const String &field_name, const MetadataKey &metadata_key, Category category, MergeStrategy merge_strategy, const StreamInfoFunction &merge_stream_info)
 
virtual ~Private ()
 

Protected Member Functions

LuceneFields MakeFields (const Value &value) const
 
Lucene::FieldablePtr MakeSingleField (const Value &value) const
 
Value TransformFields (const LuceneFields &fields) const
 
Value TransformSingleField (Lucene::FieldablePtr field) const
 
Lucene::QueryPtr MakeTermQuery (const Value &value) const
 
Lucene::QueryPtr MakeRangeQuery (const Value &lower_value, Boundary lower_boundary, const Value &upper_value, Boundary upper_boundary) const
 
bool TransformGriloValue (const GValue *input, Value *output) const
 
virtual bool TransformSafeGriloValue (const GValue *input, Value *output) const
 
bool TransformDBusVariant (GVariant *input, Value *output) const
 
bool supports_full_text_search () const
 
- Protected Member Functions inherited from mediascanner::Property::Private
virtual Wrapper< GValueMakeGriloValue (const Value &value) const
 

Additional Inherited Members

- Protected Attributes inherited from mediascanner::Property::Private
const String field_name_
 Value of Property::field_name(). More...
 
MetadataKey metadata_key_
 Value of Property::metadata_key(). More...
 
Category category_
 Value of Property::category(). More...
 
MergeStrategy merge_strategy_
 How to resolve merge conflicts for this property. More...
 
StreamInfoFunction merge_stream_info_
 Function for resolving stream information. More...
 

Member Typedef Documentation

template<typename PropertyType, typename ValueType>
typedef Property::Private mediascanner::GenericProperty< PropertyType, ValueType >::Private::inhertied

Constructor & Destructor Documentation

template<typename PropertyType, typename ValueType>
mediascanner::GenericProperty< PropertyType, ValueType >::Private::Private ( const String field_name,
const MetadataKey metadata_key,
Category  category,
MergeStrategy  merge_strategy,
const StreamInfoFunction merge_stream_info 
)
inline

Member Function Documentation

template<typename PropertyType, typename ValueType>
LuceneFields mediascanner::GenericProperty< PropertyType, ValueType >::Private::MakeFields ( const Value value) const
protectedvirtual
template<typename PropertyType, typename ValueType>
Lucene::QueryPtr mediascanner::GenericProperty< PropertyType, ValueType >::Private::MakeRangeQuery ( const Value lower_value,
Boundary  lower_boundary,
const Value upper_value,
Boundary  upper_boundary 
) const
protectedvirtual
template<typename PropertyType, typename ValueType>
Lucene::FieldablePtr mediascanner::GenericProperty< PropertyType, ValueType >::Private::MakeSingleField ( const Value value) const
protected
template<typename PropertyType, typename ValueType>
Lucene::QueryPtr mediascanner::GenericProperty< PropertyType, ValueType >::Private::MakeTermQuery ( const Value value) const
protectedvirtual
template<typename PropertyType, typename ValueType>
bool mediascanner::GenericProperty< PropertyType, ValueType >::Private::supports_full_text_search ( ) const
protectedvirtual
template<typename PropertyType, typename ValueType>
bool mediascanner::GenericProperty< PropertyType, ValueType >::Private::TransformDBusVariant ( GVariant input,
Value output 
) const
protectedvirtual
template<typename PropertyType, typename ValueType>
Value mediascanner::GenericProperty< PropertyType, ValueType >::Private::TransformFields ( const LuceneFields &  fields) const
protectedvirtual
template<typename PropertyType, typename ValueType>
bool mediascanner::GenericProperty< PropertyType, ValueType >::Private::TransformGriloValue ( const GValue input,
Value output 
) const
protectedvirtual
template<typename PropertyType, typename ValueType>
virtual bool mediascanner::GenericProperty< PropertyType, ValueType >::Private::TransformSafeGriloValue ( const GValue input,
Value output 
) const
protectedvirtual
template<typename PropertyType, typename ValueType>
Value mediascanner::GenericProperty< PropertyType, ValueType >::Private::TransformSingleField ( Lucene::FieldablePtr  field) const
protectedvirtual