osgEarth 2.1.1
Public Member Functions

KML_Style Struct Reference

Inheritance diagram for KML_Style:
Collaboration diagram for KML_Style:

List of all members.

Public Member Functions

virtual void scan (const Config &conf, KMLContext &cx)

Detailed Description

Definition at line 27 of file KML_Style.


Member Function Documentation

void KML_Style::scan ( const Config conf,
KMLContext cx 
) [virtual]

Reimplemented from KML_Object.

Definition at line 26 of file KML_Style.cpp.

{
    Style style( conf.value("id") );

    KML_IconStyle icon;
    icon.scan( conf.child("iconstyle"), style );

    KML_LabelStyle label;
    label.scan( conf.child("labelstyle"), style );

    KML_LineStyle line;
    line.scan( conf.child("linestyle"), style );

    KML_PolyStyle poly;
    poly.scan( conf.child("polystyle"), style );

    cx._sheet->addStyle( style );

    cx._activeStyle = style;
}

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines