Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
Main Page
Classes
Files
File List
All
Classes
Functions
Enumerations
Pages
catalog
catalogview.h
1
#ifndef CATALOGVIEW_H
2
#define CATALOGVIEW_H
3
4
#include <QObject>
5
#include <QVector>
6
#include <QUrl>
7
#include <QSharedPointer>
8
#include <QFileInfo>
9
#include "Kernel_global.h"
10
#include "identity.h"
11
#include "resource.h"
12
//#include "connectorinterface.h"
13
//#include "catalogconnector.h"
14
15
16
namespace
Ilwis {
17
18
class
CatalogConnector;
19
class
CatalogFactory;
20
21
26
class
KERNELSHARED_EXPORT
CatalogView
:
public
QObject,
public
Identity
27
{
28
Q_OBJECT
29
30
public
:
31
35
explicit
CatalogView
(QObject *parent = 0);
40
CatalogView
(
const
CatalogView
& cat);
41
~
CatalogView
(){}
46
std::vector<Resource> items()
const
;
47
virtual
bool
prepare(
const
QUrl &resource,
const
QString &filter=
""
);
48
QString type()
const
;
49
bool
isValid()
const
;
58
QUrl parentCatalogView()
const
;
59
void
setParentCatalogView(
const
QUrl& url);
60
61
62
protected
:
63
bool
fillCatalog();
64
65
QString _filter;
66
QUrl _location;
67
QUrl _parent;
68
69
70
signals:
71
72
public
slots:
73
74
};
75
}
76
77
typedef
QSharedPointer<Ilwis::CatalogView> SPCatalog;
78
79
Q_DECLARE_METATYPE(
Ilwis::CatalogView
)
80
81
#endif // CATALOG_H
Generated on Fri Mar 28 2014 13:51:04 for Ilwis-Objects by
1.8.3.1