libdcp
Public Member Functions | Private Attributes | Friends | List of all members
dcp::order::Font Class Reference

Public Member Functions

 Font (std::shared_ptr< SubtitleString > s, Standard standard)
 
xmlpp::Element * as_xml (xmlpp::Element *parent, Context &context) const
 
void take_intersection (Font other)
 
void take_difference (Font other)
 
bool empty () const
 
void clear ()
 
bool operator== (Font const &other) const
 

Private Attributes

std::map< std::string, std::string > _values
 

Friends

struct ::take_intersection_test
 
struct ::take_difference_test
 
struct ::pull_fonts_test1
 
struct ::pull_fonts_test2
 
struct ::pull_fonts_test3
 

Detailed Description

Definition at line 78 of file subtitle_asset_internal.h.

Member Function Documentation

◆ take_difference()

void order::Font::take_difference ( Font  other)

Modify our values so that it contains only those keys that are not in other

Definition at line 109 of file subtitle_asset_internal.cc.

◆ take_intersection()

void order::Font::take_intersection ( Font  other)

Modify our values so that they contain only those that are common to us and other.

Definition at line 92 of file subtitle_asset_internal.cc.


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