Loading...
Searching...
No Matches
GoogleCalendarsDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace GoogleDataProvider {
class GoogleCalendarsDataProvider : public GoogleDataProviderBase {
public:
const ProviderInfo = <DataProviderInfo>{
"name": "calendars",
"desc": "Google calendars data provider; parent provider for REST APIs related to specific Google "
"calendars",
"type": "GoogleCalendarsDataProvider",
"constructor_options": GoogleDataProvider::ConstructorOptions,
"supports_children": True,
"children_can_support_apis": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
protected:
hash<string, bool> calendars;
Qore::Thread::Mutex lck();
public:
constructor(*hash<auto> options);
constructor(GoogleRestClient::GoogleRestClient rest) ;
string getName();
*string getDesc();
*list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*GoogleDataProviderBase getChildProviderImpl(string name);
public:
hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
protected:
hash<string, bool> getAllCalendars();
public:
};
};
GoogleDataProvider::GoogleCalendarsDataProvider
The parent class for REST APIs related to specific Google calendars.
Definition: GoogleCalendarsDataProvider.qc.dox.h:28
GoogleDataProvider::GoogleCalendarsDataProvider::getChildProviderSummaryInfo
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
GoogleDataProvider::GoogleCalendarsDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
GoogleDataProvider::GoogleCalendarsDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarsDataProvider.qc.dox.h:43
GoogleDataProvider::GoogleCalendarsDataProvider::getAllCalendars
hash< string, bool > getAllCalendars()
Returns access info for all tables.
GoogleDataProvider::GoogleCalendarsDataProvider::calendars
hash< string, bool > calendars
Calendar list.
Definition: GoogleCalendarsDataProvider.qc.dox.h:49
GoogleDataProvider::GoogleCalendarsDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
GoogleDataProvider::GoogleCalendarsDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: GoogleCalendarsDataProvider.qc.dox.h:32
GoogleDataProvider::GoogleCalendarsDataProvider::getDesc
*string getDesc()
Returns the data provider description.
GoogleDataProvider::GoogleCalendarsDataProvider::getChildProviderImpl
*GoogleDataProviderBase getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
GoogleDataProvider::GoogleCalendarsDataProvider::lck
Qore::Thread::Mutex lck()
Metadata mutex.
GoogleDataProvider::GoogleCalendarsDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
GoogleDataProvider::GoogleCalendarsDataProvider::constructor
constructor(GoogleRestClient::GoogleRestClient rest)
Creates the object from a REST connection.
GoogleDataProvider::GoogleCalendarsDataProvider::getName
string getName()
Returns the data provider name.
GoogleDataProvider::GoogleDataProviderBase
The Google data provider base class.
Definition: GoogleDataProviderBase.qc.dox.h:28
GoogleDataProvider::GoogleDataProviderBase::rest
*GoogleRestClient::GoogleRestClient rest
The REST client object for API calls.
Definition: GoogleDataProviderBase.qc.dox.h:33
GoogleDataProvider::GoogleDataProvider::ConstructorOptions
const ConstructorOptions
Constructor options.
Definition: GoogleDataProvider.qc.dox.h:40
Qore::Thread::Mutex
GoogleDataProvider
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26