 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
22 #ifndef ctkXnatResource_h
23 #define ctkXnatResource_h
25 #include "ctkXNATCoreExport.h"
30 class ctkXnatResourcePrivate;
47 virtual QString
id()
const;
48 virtual void setId(
const QString &
id);
50 virtual QString
name()
const;
51 virtual void setName(
const QString &name);
54 QString label()
const;
57 void setLabel(
const QString& label);
59 void setFormat(
const QString& format);
60 QString format()
const;
62 void setTags(
const QString& tags);
65 void setContent(
const QString& content);
66 QString content()
const;
70 void saveImpl(
bool overwrite);
72 static const QString
ID;
79 friend class qRestResult;
81 virtual void fetchImpl();
83 virtual void downloadImpl(
const QString&);
virtual void setName(const QString &name)
Sets the name of the object.
virtual QString name() const
Gets the name of the object.
static QString XSI_RESOURCE
virtual QString resourceUri() const =0
virtual void setId(const QString &id)
static const QString FORMAT
static const QString CONTENT
static const QString TAGS
virtual QString id() const
Gets the global ID of the object.