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  · 

FunctionNode Class

 #include <FunctionNode>

Inherits: LeafNode.

Public Types

enum Access { Public, Protected, Private }
enum FlagValue { FlagValueDefault, FlagValueFalse, FlagValueTrue }
enum LinkType { StartLink, NextLink, PreviousLink, ContentsLink, IndexLink, InheritsLink }
enum Metaness { Plain, Signal, Slot, Ctor, ..., Native }
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 }
enum Virtualness { NonVirtual, ImpureVirtual, PureVirtual }

Public Functions

FunctionNode(InnerNode * parent, const QString & name)
FunctionNode(Type type, InnerNode * parent, const QString & name, bool attached)
virtual ~FunctionNode()
virtual ~Node()
Access access() const
QString accessString() const
virtual void addGroupMember(Node *)
virtual void addPageKeywords(const QString &)
void addParameter(const Parameter & parameter)
virtual void addQmlModuleMember(Node *)
virtual const Node * applyModuleIdentifier(const Node *) const
const PropertyNode * associatedProperty() const
void borrowParameterNames(const FunctionNode * source)
virtual ClassNode * classNode()
virtual void clearCurrentChild()
void clearRelated()
void debug() const
ClassNode * declarativeCppNode()
QString ditaXmlHref()
const Doc & doc() const
const QString & element() const
QString extractClassName(const QString & string) const
virtual QString fileBase() const
QString fullDocumentName() const
QString guid() const
virtual bool hasProperty(const QString &) const
QString idForNode() const
virtual QString idNumber()
virtual const ImportList * importList() const
Status inheritedStatus() const
ThreadSafeness inheritedThreadSafeness() const
virtual bool isAbstract() const
virtual bool isAttached() const
virtual bool isCollisionNode() const
bool isConst() const
virtual bool isFunction() const
bool isIndexNode() const
virtual bool isInnerNode() const = 0
bool isInternal() const
virtual bool isLeaf() const
bool isMacro() const
bool isOverload() const
virtual bool isQmlNode() const
virtual bool isQmlPropertyGroup() const
virtual bool isQtQuickNode() const
virtual bool isReimp() const
bool isStatic() const
QMap<LinkType, QPair<QString, QString> > links() const
const Location & location() const
Metaness metaness() const
QString moduleName() const
const QString & name() const
virtual QString nameForLists() const
QString nodeSubtypeString() const
QString nodeTypeString() const
virtual QString outputFileName() const
const QString & outputSubdirectory() const
int overloadNumber() const
PageType pageType() const
QString pageTypeString() const
QStringList parameterNames() const
const QList<Parameter> & parameters() const
InnerNode * parent() const
const QStringList & parentPath() const
QmlClassNode * qmlClassNode()
virtual QString qmlModuleIdentifier() const
virtual QString qmlModuleName() const
virtual QString qmlModuleVersion() const
virtual QString qmlTypeName() const
QString rawParameters(bool names = false, bool values = false) const
QStringList reconstructParams(bool values = false) const
const QList<FunctionNode *> & reimplementedBy() const
const FunctionNode * reimplementedFrom() const
InnerNode * relates() const
const QString & returnType() const
virtual void setAbstract(bool)
void setAccess(Access access)
void setConst(bool conste)
void setDoc(const Doc & doc, bool replace = false)
virtual void setImportList(const ImportList &)
void setIndexNodeFlag()
void setLink(LinkType linkType, const QString & link, const QString & desc)
void setLocation(const Location & location)
void setMetaness(Metaness metaness)
void setModuleName(const QString & module)
virtual void setOutputFileName(const QString &)
void setOverload(bool overlode)
void setPageType(PageType t)
void setPageType(const QString & t)
void setParameters(const QList<Parameter> & parameters)
void setParent(InnerNode * n)
void setParentPath(const QStringList & parentPath)
virtual bool setQmlModule(const ArgLocPair & arg)
void setReimp(bool r)
void setReimplementedFrom(FunctionNode * from)
void setRelates(InnerNode * pseudoParent)
void setReturnType(const QString & returnType)
void setSince(const QString & since)
void setStatic(bool statique)
void setStatus(Status status)
void setTemplateStuff(const QString & templateStuff)
void setThreadSafeness(ThreadSafeness safeness)
void setUrl(const QString & url)
void setVirtualness(Virtualness virtualness)
QString signature(bool values = false) const
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
Virtualness virtualness() const

Reimplemented Public Functions

virtual bool isAttached() const
virtual bool isFunction() const
virtual bool isQmlNode() const
virtual bool isQtQuickNode() const
virtual bool isReimp() const
virtual QString qmlModuleIdentifier() const
virtual QString qmlModuleName() const
virtual QString qmlModuleVersion() const
virtual QString qmlTypeName() const
  • 2 public functions inherited from LeafNode

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

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

Detailed Description

Member Type Documentation

enum FunctionNode::Metaness

enum FunctionNode::Virtualness

Member Function Documentation

FunctionNode::FunctionNode(InnerNode * parent, const QString & name)

Construct a function node for a C++ function. It's parent is parent, and it's name is name.

FunctionNode::FunctionNode(Type type, InnerNode * parent, const QString & name, bool attached)

Construct a function node for a QML method or signal, specified by type. It's parent is parent, and it's name is name. If attached is true, it is an attached method or signal.

FunctionNode::~FunctionNode() [virtual]

void FunctionNode::addParameter(const Parameter & parameter)

const PropertyNode * FunctionNode::associatedProperty() const

void FunctionNode::borrowParameterNames(const FunctionNode * source)

void FunctionNode::debug() const

Print some debugging stuff.

const QString & FunctionNode::element() const

bool FunctionNode::isAttached() const [virtual]

bool FunctionNode::isConst() const

bool FunctionNode::isFunction() const [virtual]

bool FunctionNode::isMacro() const

bool FunctionNode::isOverload() const

bool FunctionNode::isQmlNode() const [virtual]

bool FunctionNode::isQtQuickNode() const [virtual]

bool FunctionNode::isReimp() const [virtual]

bool FunctionNode::isStatic() const

Metaness FunctionNode::metaness() const

See also setMetaness().

int FunctionNode::overloadNumber() const

Returns the overload number for this function obtained from the parent.

QStringList FunctionNode::parameterNames() const

Returns the list of parameter names.

const QList<Parameter> & FunctionNode::parameters() const

See also setParameters().

const QStringList & FunctionNode::parentPath() const

See also setParentPath().

QString FunctionNode::qmlModuleIdentifier() const [virtual]

QString FunctionNode::qmlModuleName() const [virtual]

QString FunctionNode::qmlModuleVersion() const [virtual]

QString FunctionNode::qmlTypeName() const [virtual]

QString FunctionNode::rawParameters(bool names = false, bool values = false) const

Returns a raw list of parameters. If names is true, the names are included. If values is true, the default values are included, if any are present.

QStringList FunctionNode::reconstructParams(bool values = false) const

Returns the list of reconstructed parameters. If values is true, the default values are included, if any are present.

const QList<FunctionNode *> & FunctionNode::reimplementedBy() const

const FunctionNode * FunctionNode::reimplementedFrom() const

See also setReimplementedFrom().

const QString & FunctionNode::returnType() const

See also setReturnType().

void FunctionNode::setConst(bool conste)

See also isConst().

void FunctionNode::setMetaness(Metaness metaness)

See also metaness().

void FunctionNode::setOverload(bool overlode)

See also isOverload().

void FunctionNode::setParameters(const QList<Parameter> & parameters)

See also parameters().

void FunctionNode::setParentPath(const QStringList & parentPath)

See also parentPath().

void FunctionNode::setReimp(bool r)

Sets the function node's reimplementation flag to r. When r is true, it is supposed to mean that this function is a reimplementation of a virtual function in a base class, but it really just means the reimp command was seen in the qdoc comment.

See also isReimp().

void FunctionNode::setReimplementedFrom(FunctionNode * from)

If this function is a reimplementation, from points to the FunctionNode of the function being reimplemented.

See also reimplementedFrom().

void FunctionNode::setReturnType(const QString & returnType)

See also returnType().

void FunctionNode::setStatic(bool statique)

See also isStatic().

void FunctionNode::setVirtualness(Virtualness virtualness)

Sets the virtualness of this function. If the virtualness is PureVirtual, and if the parent() is a ClassNode, set the parent's abstract flag to true.

See also virtualness().

QString FunctionNode::signature(bool values = false) const

Reconstructs and returns the function's signature. If values is true, the default values of the parameters are included, if present.

Virtualness FunctionNode::virtualness() const

See also setVirtualness().

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