Classes | Defines | Typedefs | Functions

pd_DocumentRDF.h File Reference

#include <string>
#include <list>
#include <map>
#include <memory>
#include <set>
#include "ut_types.h"
#include "pt_Types.h"

Go to the source code of this file.

Classes

class  PD_URI
 An RDF URI. More...
class  PD_Object
 An RDF Object is either a URI, a bnode, or a Literal value. More...
class  PD_Literal
 Convenience class for creating Literal values. More...
struct  PD_URIListCompare
class  PD_RDFStatement
 When iterating over the RDF triples it is nice to have a single C++ object which represents the while triple. More...
class  PD_RDFModelIterator
class  PD_RDFModel
 An RDF Model is an abstract immutable collection of RDF triples. More...
class  PD_RDFSemanticItem
 Base class for C++ objects which represent RDF at a higher level. More...
class  PD_RDFContact
class  PD_RDFEvent
class  PD_RDFLocation
class  PD_RDFSemanticStylesheet
 A stylesheet that knows how to format a given PD_RDFSemanticItem. More...
class  PD_RDFSemanticItemViewSite
 Handling a specific reference to a semantic item in the document text. More...
class  PD_SemanticItemFactory
class  PD_RDFDialogs
class  PD_DocumentRDF
 The RDF associated with a document. More...
class  PD_DocumentRDFMutation
 Changes to the document RDF are handled with this class. More...
class  RDFAnchor

Defines

#define RDF_SEMANTIC_STYLESHEET_NAME   "name"
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NAME   RDF_SEMANTIC_STYLESHEET_NAME
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NICK   "nick"
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NAME_PHONE   "name, phone"
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NICK_PHONE   "nick, phone"
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NAME_HOMEPAGE_PHONE   "name, (homepage), phone"
#define RDF_SEMANTIC_STYLESHEET_EVENT_NAME   RDF_SEMANTIC_STYLESHEET_NAME
#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY   "summary"
#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_LOCATION   "summary, location"
#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_LOCATION_TIMES   "summary, location, start date/time"
#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_TIMES   "summary, start date/time"
#define RDF_SEMANTIC_STYLESHEET_LOCATION_NAME   RDF_SEMANTIC_STYLESHEET_NAME
#define RDF_SEMANTIC_STYLESHEET_LOCATION_NAME_LATLONG   "name, digital latitude, digital longitude"

Typedefs

typedef std::shared_ptr
< PD_DocumentRDFMutation
PD_DocumentRDFMutationHandle
typedef std::shared_ptr
< PD_RDFModel
PD_RDFModelHandle
typedef std::shared_ptr
< PD_DocumentRDF
PD_DocumentRDFHandle
typedef std::list< PD_URIPD_URIList
typedef std::multimap< PD_URI,
PD_Object
POCol
typedef std::list< PD_ObjectPD_ObjectList
typedef std::shared_ptr
< PD_RDFSemanticItem
PD_RDFSemanticItemHandle
typedef std::list
< PD_RDFSemanticItemHandle
PD_RDFSemanticItems
typedef std::shared_ptr
< PD_RDFContact
PD_RDFContactHandle
typedef std::list
< PD_RDFContactHandle
PD_RDFContacts
typedef std::shared_ptr
< PD_RDFEvent
PD_RDFEventHandle
typedef std::list
< PD_RDFEventHandle
PD_RDFEvents
typedef std::shared_ptr
< PD_RDFLocation
PD_RDFLocationHandle
typedef std::list
< PD_RDFLocationHandle
PD_RDFLocations
typedef std::shared_ptr
< PD_RDFSemanticStylesheet
PD_RDFSemanticStylesheetHandle
typedef std::list
< PD_RDFSemanticStylesheetHandle
PD_RDFSemanticStylesheets
typedef std::shared_ptr
< PD_RDFSemanticItemViewSite
PD_RDFSemanticItemViewSiteHandle
typedef std::list
< PD_RDFSemanticItemViewSiteHandle
PD_RDFSemanticItemViewSites

Functions

template<class ostream >
ostream & operator<< (ostream &ss, PD_URI &uri)
template<class ostream >
ostream & operator<< (ostream &ss, const PD_RDFStatement &st)
ABI_EXPORT std::pair
< PT_DocPosition,
PT_DocPosition
runInsertReferenceDialog (FV_View *pView)
 Insert a reference to a semenatic item.
ABI_EXPORT void runSemanticStylesheetsDialog (FV_View *pView)

Define Documentation

#define RDF_SEMANTIC_STYLESHEET_CONTACT_NAME   RDF_SEMANTIC_STYLESHEET_NAME
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NAME_HOMEPAGE_PHONE   "name, (homepage), phone"
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NAME_PHONE   "name, phone"
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NICK   "nick"
#define RDF_SEMANTIC_STYLESHEET_CONTACT_NICK_PHONE   "nick, phone"
#define RDF_SEMANTIC_STYLESHEET_EVENT_NAME   RDF_SEMANTIC_STYLESHEET_NAME

Referenced by Defun1(), and PD_RDFEvent::stylesheets().

#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY   "summary"

Referenced by Defun1(), and PD_RDFEvent::stylesheets().

#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_LOCATION   "summary, location"

Referenced by Defun1(), and PD_RDFEvent::stylesheets().

#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_LOCATION_TIMES   "summary, location, start date/time"

Referenced by Defun1(), and PD_RDFEvent::stylesheets().

#define RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_TIMES   "summary, start date/time"

Referenced by Defun1(), and PD_RDFEvent::stylesheets().

#define RDF_SEMANTIC_STYLESHEET_LOCATION_NAME   RDF_SEMANTIC_STYLESHEET_NAME
#define RDF_SEMANTIC_STYLESHEET_LOCATION_NAME_LATLONG   "name, digital latitude, digital longitude"
#define RDF_SEMANTIC_STYLESHEET_NAME   "name"

Typedef Documentation

typedef std::shared_ptr<PD_DocumentRDF> PD_DocumentRDFHandle
typedef std::list< PD_Object > PD_ObjectList
typedef std::shared_ptr<PD_RDFContact > PD_RDFContactHandle
typedef std::list< PD_RDFContactHandle > PD_RDFContacts
typedef std::shared_ptr<PD_RDFEvent > PD_RDFEventHandle
typedef std::list< PD_RDFEventHandle > PD_RDFEvents
typedef std::shared_ptr<PD_RDFLocation > PD_RDFLocationHandle
typedef std::list< PD_RDFLocationHandle > PD_RDFLocations
typedef std::shared_ptr<PD_RDFModel> PD_RDFModelHandle
typedef std::shared_ptr<PD_RDFSemanticItem> PD_RDFSemanticItemHandle
typedef std::list< PD_URI > PD_URIList
typedef std::multimap< PD_URI, PD_Object > POCol

Function Documentation

template<class ostream >
ostream& operator<< ( ostream &  ss,
PD_URI uri 
)

References PD_URI::toString().

template<class ostream >
ostream& operator<< ( ostream &  ss,
const PD_RDFStatement st 
)
ABI_EXPORT std::pair< PT_DocPosition, PT_DocPosition > runInsertReferenceDialog ( FV_View pView  ) 

Insert a reference to a semenatic item.

References PD_DocumentRDF::getRDFDialogs(), and PD_RDFDialogs::runInsertReferenceDialog().

Referenced by Defun1().

ABI_EXPORT void runSemanticStylesheetsDialog ( FV_View pView  )