LStyle Class

#include <Layers/lobject.h>
Inherited By: LAttribute

Public Functions

LStyle ( )
LStyle ( const LString & name )
LStyle ( const LString & name, const json & value, const std::filesystem::path & file_path )
~LStyle ( )
void apply_style ( LStyle * style_def )
std::vector<LString> attribute_group_names ( )
std::map<LString, LAttribute *> attributes ( int type_index )
LStyle * base ( )
LString base_name ( )
LStyle * child ( int index )
size_t child_count ( )
std::map<LString, LStyle *> children ( )
void clear_style ( )
void clone_to ( LObject * parent )
std::set<LStyle *> dependencies ( )
json extension ( const LString & key )
const json & extensions ( )
LString file_name ( )
void finalize ( )
LAttribute * find_attribute ( const LString & attr_name )
LAttribute * find_attribute ( std::string_view attr_name )
LAttribute * find_attribute ( const char * attr_name )
LStyle * find_item ( const LString & path )
LStyle * find_item ( std::deque<LString> name_list )
bool has_extension ( const LString & key )
bool has_unresolved_base ( )
int index ( )
void on_style_applied ( std::function<void ()> callback )
LStyle * namespace_root ( )
LString path ( )
LStyle * parent ( )
LString publisher ( )
void resolve_links ( )
void inherit ( LStyle * base_style )
void set_publisher ( const LString & publisher )
LStyle * style ( )
json to_json_object ( )

Detailed Description

Member Function Documentation

LStyle ( )

LStyle ( const LString & name )

LStyle ( const LString & name, const json & value, const std::filesystem::path & file_path )

~LStyle ( )

No description available.

void apply_style ( LStyle * style_def )

std::vector<LString> attribute_group_names ( )

std::map<LString, LAttribute *> attributes ( int type_index )

LStyle * base ( )

LString base_name ( )

LStyle * child ( int index )

size_t child_count ( )

std::map<LString, LStyle *> children ( )

void clear_style ( )

void clone_to ( LObject * parent )

No description available.

std::set<LStyle *> dependencies ( )

json extension ( const LString & key )

const json & extensions ( )

LString file_name ( )

void finalize ( )

LAttribute * find_attribute ( const LString & attr_name )

LAttribute * find_attribute ( std::string_view attr_name )

No description available.

LAttribute * find_attribute ( const char * attr_name )

No description available.

LStyle * find_item ( const LString & path )

LStyle * find_item ( std::deque<LString> name_list )

bool has_extension ( const LString & key )

bool has_unresolved_base ( )

int index ( )

void on_style_applied ( std::function<void ()> callback )

LStyle * namespace_root ( )

LString path ( )

LStyle * parent ( )

LString publisher ( )

void inherit ( LStyle * base_style )

void set_publisher ( const LString & publisher )

LStyle * style ( )

json to_json_object ( )

Appearance
Theme