89 : _remote(remoteNode != nullptr)
90 , _remoteNode(remoteNode)
122 return QString(
"No description available for '%1' nodes.").arg(type);
148 return QString(
"No constructor signature available for '%1' nodes.").arg(type);
199 for (
int i=0;i<p.length();i++)
202 s += QString(
" %1 - %2\n").arg(n,-20).arg(
description(n));
205 QStringList as = a.split(
'\n',Qt::SkipEmptyParts);
206 s += QString(
"%1").arg(
"",-27) + as.join( QString(
"\n%1").arg(
' ',-27) ) +
"\n";
241 return QStringList();
301 int c = s.constructorCount();
305 return QString(
"No constructor signature available for '%1' nodes.").arg(s.className());
308 for (
int i=0;i<c;i++)
312 QMetaMethod m = s.constructor(i);
314 ctor += m.name() +
"(";
318 int nc = m.parameterCount();
319 QList<QByteArray> pn = m.parameterNames();
320 QList<QByteArray> pt = m.parameterTypes();
321 for (
int j=0;j<nc;j++)
323 ctor += pt.at(j) +
" " + pn.at(j);
virtual QString description(QString type)
Descriptive text about an individual node.
bool isRemote()
If a plugin represents a remote resource, this value will be true.
virtual bool initialize()
The plugin initializer.
VFS_node_interface(VFS_node *remoteNode=nullptr)
VFS_node_interface::VFS_node_interface.
QString argumentString(QMetaObject s)
Format a constructor string based on a node's metadata object.
bool _remote
Does this plugin exist on another resource?
virtual bool licensed(QString type)
A licensing mechanism for node creation.
QString describe()
Describe all the nodes in a plugin.
virtual ~VFS_node_interface()
virtual QString arguments(QString type)
Describe the arguments needed to create a node.
VFS_node * _remoteNode
The node responding to requests for remote resources.
virtual QString code(QString nodename, QString libname, QString &error)
Request code or other resource from a plugin bundle.
virtual QStringList provides()
A string list of node names that this plugin is prepared to create.
VFS_node * remoteNode()
Return the node needed to satisfy a remote request.
virtual VFS_node * create(QString type, QVariantMap env, QDomElement child)
Create a new node instance.
VFS_node is the base class from which all other VFS_node classes derive.
static QString code(QString nodename, QString libname, QString &error)
Fetch code or any other resource from a node.
setter type
a setter DOCME