Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

InnerNode Class

 #include <InnerNode>

Inherits: Node.

Inherited by: ClassNode, FakeNode, and NamespaceNode.

Public Types

enum Access { Public, Protected, Private }
enum FlagValue { FlagValueDefault, FlagValueFalse, FlagValueTrue }
enum LinkType { StartLink, NextLink, PreviousLink, ContentsLink, IndexLink, InheritsLink }
enum PageType { NoPageType, ApiPage, ArticlePage, ExamplePage, ..., OnBeyondZebra }
enum Status { Compat, Obsolete, Deprecated, Preliminary, ..., Internal }
enum SubType { NoSubType, Example, HeaderFile, File, ..., LastSubtype }
enum ThreadSafeness { UnspecifiedSafeness, NonReentrant, Reentrant, ThreadSafe }
enum Type { Namespace, Class, Fake, Enum, ..., LastType }

Public Functions

virtual ~InnerNode()
virtual ~Node()
Access access() const
QString accessString() const
virtual void addGroupMember(Node *)
void addInclude(const QString & include)
virtual void addPageKeywords(const QString &)
virtual void addQmlModuleMember(Node *)
virtual const Node * applyModuleIdentifier(const Node *) const
const NodeList & childNodes() const
virtual ClassNode * classNode()
virtual void clearCurrentChild()
void clearCurrentChildPointers()
void clearRelated()
int count() const
ClassNode * declarativeCppNode()
void deleteChildren()
QString ditaXmlHref()
const Doc & doc() const
QString extractClassName(const QString & string) const
virtual QString fileBase() const
Node * findChildNodeByName(const QString & name)
Node * findChildNodeByName(const QString & name, bool qml)
const Node * findChildNodeByName(const QString & name) const
const Node * findChildNodeByName(const QString & name, bool qml) const
Node * findChildNodeByNameAndType(const QString & name, Type type)
const Node * findChildNodeByNameAndType(const QString & name, Type type) const
const EnumNode * findEnumNodeForValue(const QString & enumValue) const
FunctionNode * findFunctionNode(const QString & name)
FunctionNode * findFunctionNode(const FunctionNode * clone)
const FunctionNode * findFunctionNode(const QString & name) const
const FunctionNode * findFunctionNode(const FunctionNode * clone) const
void findNodes(const QString & name, QList<Node *> & n)
QString fullDocumentName() const
QString guid() const
virtual bool hasProperty(const QString &) const
QString idForNode() const
virtual QString idNumber()
virtual const ImportList * importList() const
const QStringList & includes() const
Status inheritedStatus() const
ThreadSafeness inheritedThreadSafeness() const
virtual bool isAbstract() const
virtual bool isAttached() const
virtual bool isCollisionNode() const
virtual bool isFunction() const
bool isIndexNode() const
virtual bool isInnerNode() const = 0
bool isInternal() const
virtual bool isLeaf() const
virtual bool isQmlNode() const
virtual bool isQmlPropertyGroup() const
virtual bool isQtQuickNode() const
virtual bool isReimp() const
QMap<LinkType, QPair<QString, QString> > links() const
const Location & location() const
void makeUndocumentedChildrenInternal()
QString moduleName() const
const QString & name() const
virtual QString nameForLists() const
QString nodeSubtypeString() const
QString nodeTypeString() const
void normalizeOverloads()
virtual QString outputFileName() const
const QString & outputSubdirectory() const
int overloadNumber(const FunctionNode * func) const
NodeList overloads(const QString & funcName) const
const QStringList & pageKeywords() const
PageType pageType() const
QString pageTypeString() const
InnerNode * parent() const
QStringList primaryKeys()
QmlClassNode * qmlClassNode()
virtual QString qmlModuleIdentifier() const
virtual QString qmlModuleName() const
virtual QString qmlModuleVersion() const
virtual QString qmlTypeName() const
const NodeList & relatedNodes() const
InnerNode * relates() const
void removeFromRelated()
QStringList secondaryKeys()
virtual void setAbstract(bool)
void setAccess(Access access)
virtual void setCurrentChild()
virtual void setCurrentChild(InnerNode *)
void setDoc(const Doc & doc, bool replace = false)
virtual void setImportList(const ImportList &)
void setIncludes(const QStringList & includes)
void setIndexNodeFlag()
void setLink(LinkType linkType, const QString & link, const QString & desc)
void setLocation(const Location & location)
void setModuleName(const QString & module)
virtual void setOutputFileName(const QString &)
void setOverload(const FunctionNode * func, bool overlode)
void setPageType(PageType t)
void setPageType(const QString & t)
void setParent(InnerNode * n)
virtual bool setQmlModule(const ArgLocPair & arg)
void setRelates(InnerNode * pseudoParent)
void setSince(const QString & since)
void setStatus(Status status)
void setTemplateStuff(const QString & templateStuff)
void setThreadSafeness(ThreadSafeness safeness)
void setUrl(const QString & url)
QString since() const
Status status() const
virtual SubType subType() const
QString templateStuff() const
ThreadSafeness threadSafeness() const
virtual QString title() const
Type type() const
QString url() const

Reimplemented Public Functions

virtual void addPageKeywords(const QString & t)
virtual bool isInnerNode() const
virtual bool isLeaf() const
virtual QString outputFileName() const
virtual void setOutputFileName(const QString & f)

Static Public Members

QString cleanId(QString str)
void clearPropertyGroupCount()
bool fromFlagValue(FlagValue fv, bool defaultValue)
int incPropertyGroupCount()
QString nodeSubtypeString(unsigned t)
QString nodeTypeString(unsigned t)
QString pageTypeString(unsigned t)
FlagValue toFlagValue(bool b)

Protected Functions

InnerNode(Type type, InnerNode * parent, const QString & name)
Node(Type type, InnerNode * parent, const QString & name)

Detailed Description

Member Function Documentation

InnerNode::InnerNode(Type type, InnerNode * parent, const QString & name) [protected]

Construct an inner node (i.e., not a leaf node) of the given type and having the given parent and name.

InnerNode::~InnerNode() [virtual]

The inner node destructor deletes the children and removes this node from its related nodes.

void InnerNode::addInclude(const QString & include)

Appends an include file to the list of include files.

void InnerNode::addPageKeywords(const QString & t) [virtual]

const NodeList & InnerNode::childNodes() const

void InnerNode::clearCurrentChildPointers()

In each child node that is a collision node, clear the current child pointer.

int InnerNode::count() const

void InnerNode::deleteChildren()

Deletes all this node's children.

Node * InnerNode::findChildNodeByName(const QString & name)

Find the node in this node's children that has the given name. If this node is a QML class node, be sure to also look in the children of its property group nodes. Return the matching node or 0.

Node * InnerNode::findChildNodeByName(const QString & name, bool qml)

Find the node in this node's children that has the given name. If this node is a QML class node, be sure to also look in the children of its property group nodes. Return the matching node or 0. This is not a recearsive search.

If qml is true, only match a node for which node->isQmlNode() returns true. If qml is false, only match a node for which node->isQmlNode() returns false.

const Node * InnerNode::findChildNodeByName(const QString & name) const

const Node * InnerNode::findChildNodeByName(const QString & name, bool qml) const

If qml is true, only match a node for which node->isQmlNode() returns true. If qml is false, only match a node for which node->isQmlNode() returns false.

Node * InnerNode::findChildNodeByNameAndType(const QString & name, Type type)

This function is like findChildNodeByName(), but if a node with the specified name is found but it is not of the specified type, 0 is returned.

This function is not recursive and therefore can't handle collisions. If it finds a collision node named name, it will return that node. But it might not find the collision node because it looks up name in the child map, not the list.

const Node * InnerNode::findChildNodeByNameAndType(const QString & name, Type type) const

Searches this node's children for a child named name with the specified node type.

const EnumNode * InnerNode::findEnumNodeForValue(const QString & enumValue) const

FunctionNode * InnerNode::findFunctionNode(const QString & name)

Find a function node that is a child of this nose, such that the function node has the specified name.

FunctionNode * InnerNode::findFunctionNode(const FunctionNode * clone)

Find the function node that is a child of this node, such that the function has the same name and signature as the clone node.

const FunctionNode * InnerNode::findFunctionNode(const QString & name) const

Find a function node that is a child of this nose, such that the function node has the specified name. This function calls the non-const version of itself.

const FunctionNode * InnerNode::findFunctionNode(const FunctionNode * clone) const

Find the function node that is a child of this node, such that the function has the same name and signature as the clone node. This function calls the non-const version.

void InnerNode::findNodes(const QString & name, QList<Node *> & n)

const QStringList & InnerNode::includes() const

See also setIncludes().

bool InnerNode::isInnerNode() const [virtual]

Reimplemented from Node::isInnerNode().

Returns true because this is an inner node.

bool InnerNode::isLeaf() const [virtual]

void InnerNode::makeUndocumentedChildrenInternal()

Mark all child nodes that have no documentation as having private access and internal status. qdoc will then ignore them for documentation purposes.

Note: Exception: Name collision nodes are not marked private/internal.

void InnerNode::normalizeOverloads()

QString InnerNode::outputFileName() const [virtual]

See also setOutputFileName().

int InnerNode::overloadNumber(const FunctionNode * func) const

Returnds the sequence number of the function node func in the list of overloaded functions for a class, such that all the functions have the same name as the func.

NodeList InnerNode::overloads(const QString & funcName) const

Returns a node list containing all the member functions of some class such that the functions overload the name funcName.

const QStringList & InnerNode::pageKeywords() const

QStringList InnerNode::primaryKeys()

Returns the list of keys from the primary function map.

const NodeList & InnerNode::relatedNodes() const

void InnerNode::removeFromRelated()

QStringList InnerNode::secondaryKeys()

Returns the list of keys from the secondary function map.

void InnerNode::setCurrentChild() [virtual]

void InnerNode::setCurrentChild(InnerNode *) [virtual]

void InnerNode::setIncludes(const QStringList & includes)

Sets the list of include files to includes.

See also includes().

void InnerNode::setOutputFileName(const QString & f) [virtual]

See also outputFileName().

void InnerNode::setOverload(const FunctionNode * func, bool overlode)

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web