Qt 4.8
Public Types | Public Functions | Properties | List of all members
QPatternist::FunctionArgument Class Reference

Carries meta data for a function argument as found in XPath's builtin functions and user declared functions in XQuery and XSL-T. More...

#include <qfunctionargument_p.h>

Inheritance diagram for QPatternist::FunctionArgument:
QSharedData QPatternist::WithParam

Public Types

typedef QList< FunctionArgument::PtrList
 
typedef QExplicitlySharedDataPointer< FunctionArgumentPtr
 

Public Functions

 FunctionArgument (const QXmlName name, const SequenceType::Ptr &type)
 
QXmlName name () const
 
SequenceType::Ptr type () const
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Properties

const QXmlName m_name
 
const SequenceType::Ptr m_type
 

Additional Inherited Members

- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Carries meta data for a function argument as found in XPath's builtin functions and user declared functions in XQuery and XSL-T.

See also
VariableDeclaration
Author
Frans Englich frans.nosp@m..eng.nosp@m.lich@.nosp@m.noki.nosp@m.a.com

Definition at line 75 of file qfunctionargument_p.h.

Typedefs

◆ List

Definition at line 79 of file qfunctionargument_p.h.

◆ Ptr

Definition at line 78 of file qfunctionargument_p.h.

Constructors and Destructors

◆ FunctionArgument()

FunctionArgument::FunctionArgument ( const QXmlName  name,
const SequenceType::Ptr type 
)

Definition at line 48 of file qfunctionargument.cpp.

49  : m_name(nameP),
50  m_type(typeP)
51 {
52  Q_ASSERT(!nameP.isNull());
53  Q_ASSERT(typeP);
54 }
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
const SequenceType::Ptr m_type

Functions

◆ name()

QXmlName FunctionArgument::name ( ) const

Definition at line 56 of file qfunctionargument.cpp.

57 {
58  return m_name;
59 }

◆ type()

SequenceType::Ptr FunctionArgument::type ( ) const

Definition at line 61 of file qfunctionargument.cpp.

62 {
63  return m_type;
64 }
const SequenceType::Ptr m_type

Properties

◆ m_name

const QXmlName QPatternist::FunctionArgument::m_name
private

Definition at line 89 of file qfunctionargument_p.h.

Referenced by name().

◆ m_type

const SequenceType::Ptr QPatternist::FunctionArgument::m_type
private

Definition at line 90 of file qfunctionargument_p.h.

Referenced by type().


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