SkViewInflate Class Reference

#include <SkViewInflate.h>

Collaboration diagram for SkViewInflate:
[legend]

List of all members.

Classes

struct  IDStr

Public Member Functions

 SkViewInflate ()
virtual ~SkViewInflate ()
SkViewinflate (const SkDOM &dom, const SkDOM::Node *node, SkView *root=NULL)
SkViewinflate (const char xml[], size_t len, SkView *root=NULL)
SkViewfindViewByID (const char id[]) const

Detailed Description

Definition at line 26 of file SkViewInflate.h.


Constructor & Destructor Documentation

SkViewInflate::SkViewInflate (  ) 
virtual SkViewInflate::~SkViewInflate (  )  [virtual]

Member Function Documentation

SkView* SkViewInflate::findViewByID ( const char  id[]  )  const

Given an id attribute value, return the corresponding view, or null if no match is found.

SkView* SkViewInflate::inflate ( const char  xml[],
size_t  len,
SkView root = NULL 
)
SkView* SkViewInflate::inflate ( const SkDOM dom,
const SkDOM::Node node,
SkView root = NULL 
)

Return the tree of inflated views. If root is null, create the root element as a view, otherwise assume root is that view, and just "inflate" it.

Returns null if the tree cannot be built.


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

Generated on Tue Oct 20 10:33:06 2009 for Skia by  doxygen 1.6.1