ClanLib  2.3.7
List of all members
CL_CSSProperty Class Reference

Cascading Style Sheet (CSS) property. More...

#include <css_property.h>

Public Member Functions

Construction
 CL_CSSProperty ()
 Constructs a CSS property. More...
 
 ~CL_CSSProperty ()
 
Operations
void set_name (const CL_String &name)
 Sets property name. More...
 
void set_value (const CL_String &value)
 Sets property value. More...
 
void set_priority (Priority priority)
 Sets property priority. More...
 
bool operator== (const CL_CSSProperty &other) const
 

Attributes

enum  Priority { priority_normal, priority_important }
 CSS priorities. More...
 
const CL_Stringget_name () const
 Returns the name of the property. More...
 
const CL_Stringget_value () const
 Returns the value of the property. More...
 
Priority get_priority () const
 Returns the priority of the property. More...
 

Detailed Description

Cascading Style Sheet (CSS) property.

Member Enumeration Documentation

CSS priorities.

Enumerator
priority_normal 

Normal priority.

priority_important 

Important priority.

Constructor & Destructor Documentation

CL_CSSProperty::CL_CSSProperty ( )

Constructs a CSS property.

CL_CSSProperty::~CL_CSSProperty ( )

Member Function Documentation

const CL_String& CL_CSSProperty::get_name ( ) const

Returns the name of the property.

Priority CL_CSSProperty::get_priority ( ) const

Returns the priority of the property.

const CL_String& CL_CSSProperty::get_value ( ) const

Returns the value of the property.

bool CL_CSSProperty::operator== ( const CL_CSSProperty other) const
void CL_CSSProperty::set_name ( const CL_String name)

Sets property name.

void CL_CSSProperty::set_priority ( Priority  priority)

Sets property priority.

void CL_CSSProperty::set_value ( const CL_String value)

Sets property value.


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