Ubuntu TV Media Scanner
A centralized index for removable media content.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Protected Types | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
mediascanner::DateTimeProperty Class Reference

#include <mediascanner/property.h>

+ Inheritance diagram for mediascanner::DateTimeProperty:

Classes

class  Private
 

Protected Types

typedef GenericProperty
< DateTimeProperty, DateTime
inherited
 
- Protected Types inherited from mediascanner::GenericProperty< DateTimeProperty, DateTime >
typedef value_type(* MediaInfoGetter )(const GstDiscovererInfo *)
 
typedef value_type(* StreamInfoGetter )(const GstDiscovererStreamInfo *)
 
typedef value_type(* AudioInfoGetter )(const GstDiscovererAudioInfo *)
 
typedef value_type(* VideoInfoGetter )(const GstDiscovererVideoInfo *)
 
- Protected Types inherited from mediascanner::Property
typedef std::shared_ptr< PrivatePrivatePtr
 Shared pointer to internal property fields. More...
 

Protected Member Functions

 DateTimeProperty (const String &field_name, const MetadataKey &metadata_key, Property::Category category, MergeStrategy merge_strategy, const StreamInfoFunction &stream_info)
 
 DateTimeProperty (Private *impl)
 
- Protected Member Functions inherited from mediascanner::GenericProperty< DateTimeProperty, DateTime >
 GenericProperty (Private *impl)
 
StreamInfoFunction bind_attr (MediaInfoGetter get_attribute)
 
StreamInfoFunction bind_attr (StreamInfoGetter get_attribute)
 
StreamInfoFunction bind_attr (AudioInfoGetter get_attribute)
 
StreamInfoFunction bind_attr (VideoInfoGetter get_attribute)
 
StreamInfoFunction bind_tag (const char *tag_name) const
 
- Protected Member Functions inherited from mediascanner::Property
 Property (PrivatePtr impl)
 Constructs a new property instance. More...
 
StreamInfoFunction bind_any (const StreamInfoFunction &first, const StreamInfoFunction &second) const
 
template<typename ValueType >
bool MergeAttribute (GstDiscovererInfo *media, GstDiscovererStreamInfo *stream, ValueType(*get_attribute)(const GstDiscovererInfo *), ValueMap *item) const
 
template<typename ValueType , typename InfoType >
bool MergeAttribute (GstDiscovererInfo *media, GstDiscovererStreamInfo *stream, ValueType(*get_attribute)(const InfoType *), ValueMap *item) const
 
template<typename ValueType >
bool MergeTag (GstDiscovererInfo *media, GstDiscovererStreamInfo *stream, const char *tag_name, ValueMap *item) const
 
template<typename ValueType >
StreamInfoFunction bind_attr (ValueType(*)(const GstDiscovererInfo *))
 
template<typename ValueType , typename InfoType >
StreamInfoFunction bind_attr (ValueType(*)(const InfoType *))
 
template<typename ValueType >
StreamInfoFunction bind_tag (const char *tag_name) const
 

Static Protected Member Functions

static MetadataKey define (const char *name, const char *nick, const char *blurb)
 

Friends

class Private
 

Additional Inherited Members

- Public Types inherited from mediascanner::GenericProperty< DateTimeProperty, DateTime >
typedef DateTime value_type
 
- Public Member Functions inherited from mediascanner::GenericProperty< DateTimeProperty, DateTime >
BoundValue bind_value (const DateTime &value) const
 
- Static Public Member Functions inherited from mediascanner::Property
static Property FromFieldName (const String &name)
 Finds a property by its Lucene++ field name. More...
 
static Property FromMetadataKey (GrlKeyID key)
 Finds a property by its Grilo metadata key. More...
 
static void VisitAll (const PropertyVisitor &visit)
 Visits all property declarations known to the media scanner. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

mediascanner::DateTimeProperty::DateTimeProperty ( const String field_name,
const MetadataKey metadata_key,
Property::Category  category,
MergeStrategy  merge_strategy,
const StreamInfoFunction stream_info 
)
protected
mediascanner::DateTimeProperty::DateTimeProperty ( Private impl)
explicitprotected

Member Function Documentation

static MetadataKey mediascanner::DateTimeProperty::define ( const char *  name,
const char *  nick,
const char *  blurb 
)
inlinestaticprotected

Friends And Related Function Documentation

friend class Private
friend