osgEarth 2.1.1
Public Member Functions

KML_Document Struct Reference

Inheritance diagram for KML_Document:
Collaboration diagram for KML_Document:

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 27 of file KML_Document.


Member Function Documentation

void KML_Document::build ( const Config conf,
KMLContext cx 
) [virtual]

Definition at line 45 of file KML_Document.cpp.

{
    // creates an empty group and pushes it on the stack.
    osg::Group* group = new osg::Group();
    cx._groupStack.top()->addChild( group );
    cx._groupStack.push( group );

    KML_Container::build(conf, cx, group);
    for_features(build, conf, cx);

    cx._groupStack.pop();
}
void KML_Document::scan ( const Config conf,
KMLContext cx 
) [virtual]

Reimplemented from KML_Container.

Definition at line 29 of file KML_Document.cpp.

{
    KML_Container::scan(conf, cx);
    for_many    ( Schema, scan, conf, cx );
    for_features( scan, conf, cx );
}
void KML_Document::scan2 ( const Config conf,
KMLContext cx 
) [virtual]

Reimplemented from KML_Container.

Definition at line 37 of file KML_Document.cpp.

{
    KML_Container::scan2(conf, cx);
    for_many    ( Schema, scan2, conf, cx );
    for_features( scan2, conf, cx );
}

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