Go to Google Code Home
Google SketchUp SkpWriter C++ API Documentation (Labs)

Public Member Functions

atlast::sketchup::ISketchUpEntity Interface Reference

An object belonging to an ISketchUpModel. Another name for this object might be "ISketchUpModelObject". More...

#include <ientity.h>

Inheritance diagram for atlast::sketchup::ISketchUpEntity:
atlast::sketchup::ISketchUpObject atlast::sketchup::ISketchUpAttribute atlast::sketchup::ISketchUpAttributeDictionaryEntry atlast::sketchup::ISketchUpComponentBehavior atlast::sketchup::ISketchUpController atlast::sketchup::ISketchUpEdgeUse atlast::sketchup::ISketchUpEntityContainer atlast::sketchup::ISketchUpGeometricElement atlast::sketchup::ISketchUpLayer atlast::sketchup::ISketchUpOptionsManager atlast::sketchup::ISketchUpPage

List of all members.

Public Member Functions

virtual ISketchUpModelPtr GetModel () const =0
 Used to retrieve the owning model.
virtual ISketchUpEntityContainerPtr GetParent () const =0
 Retrieves the object owning this entity. The owning (or parent) could be the Model or a ComponentDefinition. Either way, this method retrieves the ISketchUpEntityContainer containing the object.
virtual
ISketchUpAttributeDictionaryPtr 
CreateAttributeDictionary (LPCWSTR name)=0
 Attribute creation support.
virtual
ISketchUpAttributeDictionaryPtr 
FindAttributeDictionary (LPCWSTR name) const =0
 Attribute search support.
virtual AtLastUstring GetTypeName () const =0
 Returns the so-called friendly name of the object.

Detailed Description

An object belonging to an ISketchUpModel. Another name for this object might be "ISketchUpModelObject".


Member Function Documentation

virtual ISketchUpAttributeDictionaryPtr atlast::sketchup::ISketchUpEntity::CreateAttributeDictionary ( LPCWSTR  name  )  [pure virtual]

Attribute creation support.

This method will create a attribute dictionary of the given name if there isn't already such a named dictionary. If a dictionary of the same name already exists, this method will return that one.

Parameters:
name The name of the dictionary to find or create.
Returns:
The new or found dictionary.
virtual ISketchUpAttributeDictionaryPtr atlast::sketchup::ISketchUpEntity::FindAttributeDictionary ( LPCWSTR  name  )  const [pure virtual]

Attribute search support.

Searches for an AttributeDictionary of the given name.

Parameters:
name The name to search on.
Returns:
The found dictionary, NULL if not found.
virtual ISketchUpModelPtr atlast::sketchup::ISketchUpEntity::GetModel (  )  const [pure virtual]

Used to retrieve the owning model.

Returns:
The model containing (owning) this object.
virtual ISketchUpEntityContainerPtr atlast::sketchup::ISketchUpEntity::GetParent (  )  const [pure virtual]

Retrieves the object owning this entity. The owning (or parent) could be the Model or a ComponentDefinition. Either way, this method retrieves the ISketchUpEntityContainer containing the object.

Returns:
The owning object.
virtual AtLastUstring atlast::sketchup::ISketchUpEntity::GetTypeName (  )  const [pure virtual]

Returns the so-called friendly name of the object.

Returns:
The type name.

©2010 Google - Google Home - About Google