Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::Debug::SimpleEvent< C > Class Template Reference

#include <simple-event.h>

Inheritance diagram for Inkscape::Debug::SimpleEvent< C >:
Inkscape::Debug::Event

Public Member Functions

 SimpleEvent (char const *name)
 
char const * name () const override
 
unsigned propertyCount () const override
 
PropertyPair property (unsigned property) const override
 
void generateChildEvents () const override
 
- Public Member Functions inherited from Inkscape::Debug::Event
virtual ~Event ()=default
 

Static Public Member Functions

static Category category ()
 
- Static Public Member Functions inherited from Inkscape::Debug::Event
static Category category ()
 

Protected Member Functions

void _addProperty (char const *name, std::shared_ptr< std::string > &&value)
 
void _addProperty (char const *name, char const *value)
 
void _addProperty (char const *name, long value)
 

Private Member Functions

void _addFormattedProperty (char const *name, char const *format,...)
 

Private Attributes

char const * _name
 
std::vector< PropertyPair_properties
 

Additional Inherited Members

- Public Types inherited from Inkscape::Debug::Event
enum  Category {
  CORE =0 , XML , SPOBJECT , DOCUMENT ,
  REFCOUNT , EXTENSION , FINALIZERS , INTERACTION ,
  CONFIGURATION , OTHER
}
 
enum  { N_CATEGORIES =OTHER+1 }
 

Detailed Description

template<Event::Category C = Event::OTHER>
class Inkscape::Debug::SimpleEvent< C >

Definition at line 29 of file simple-event.h.

Constructor & Destructor Documentation

◆ SimpleEvent()

template<Event::Category C = Event::OTHER>
Inkscape::Debug::SimpleEvent< C >::SimpleEvent ( char const *  name)
inlineexplicit

Definition at line 31 of file simple-event.h.

Member Function Documentation

◆ _addFormattedProperty()

template<Event::Category C = Event::OTHER>
void Inkscape::Debug::SimpleEvent< C >::_addFormattedProperty ( char const *  name,
char const *  format,
  ... 
)
inlineprivate

◆ _addProperty() [1/3]

template<Event::Category C = Event::OTHER>
void Inkscape::Debug::SimpleEvent< C >::_addProperty ( char const *  name,
char const *  value 
)
inlineprotected

◆ _addProperty() [2/3]

template<Event::Category C = Event::OTHER>
void Inkscape::Debug::SimpleEvent< C >::_addProperty ( char const *  name,
long  value 
)
inlineprotected

◆ _addProperty() [3/3]

template<Event::Category C = Event::OTHER>
void Inkscape::Debug::SimpleEvent< C >::_addProperty ( char const *  name,
std::shared_ptr< std::string > &&  value 
)
inlineprotected

◆ category()

template<Event::Category C = Event::OTHER>
static Category Inkscape::Debug::SimpleEvent< C >::category ( )
inlinestatic

Definition at line 36 of file simple-event.h.

◆ generateChildEvents()

template<Event::Category C = Event::OTHER>
void Inkscape::Debug::SimpleEvent< C >::generateChildEvents ( ) const
inlineoverridevirtual

Implements Inkscape::Debug::Event.

Definition at line 44 of file simple-event.h.

◆ name()

◆ property()

template<Event::Category C = Event::OTHER>
PropertyPair Inkscape::Debug::SimpleEvent< C >::property ( unsigned  property) const
inlineoverridevirtual

◆ propertyCount()

template<Event::Category C = Event::OTHER>
unsigned Inkscape::Debug::SimpleEvent< C >::propertyCount ( ) const
inlineoverridevirtual

Implements Inkscape::Debug::Event.

Definition at line 39 of file simple-event.h.

References Inkscape::Debug::SimpleEvent< C >::_properties.

Member Data Documentation

◆ _name

template<Event::Category C = Event::OTHER>
char const* Inkscape::Debug::SimpleEvent< C >::_name
private

Definition at line 58 of file simple-event.h.

Referenced by Inkscape::Debug::SimpleEvent< C >::name().

◆ _properties


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