CL_CSSProperty Class Reference
[clanCore CSS]

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

#include <css_property.h>

List of all members.

Public Member Functions

Construction

 CL_CSSProperty ()
 Constructs a CSS property.
 ~CL_CSSProperty ()
Operations

void set_name (const CL_String &name)
 Sets property name.
void set_value (const CL_String &value)
 Sets property value.
void set_priority (Priority priority)
 Sets property priority.
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.
const CL_Stringget_value () const
 Returns the value of the property.
Priority get_priority () const
 Returns the priority of the property.

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: