VMware GemFire Native C++ Reference
9.2.4
StructSet.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#ifndef GEODE_STRUCTSET_H_
4
#define GEODE_STRUCTSET_H_
5
6
/*
7
* Licensed to the Apache Software Foundation (ASF) under one or more
8
* contributor license agreements. See the NOTICE file distributed with
9
* this work for additional information regarding copyright ownership.
10
* The ASF licenses this file to You under the Apache License, Version 2.0
11
* (the "License"); you may not use this file except in compliance with
12
* the License. You may obtain a copy of the License at
13
*
14
* http://www.apache.org/licenses/LICENSE-2.0
15
*
16
* Unless required by applicable law or agreed to in writing, software
17
* distributed under the License is distributed on an "AS IS" BASIS,
18
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
* See the License for the specific language governing permissions and
20
* limitations under the License.
21
*/
22
23
#include "geode_globals.hpp"
24
#include "
geode_types.hpp
"
25
26
#include "
CqResults.hpp
"
27
#include "
Struct.hpp
"
28
29
#include "
SelectResultsIterator.hpp
"
30
35
namespace
apache
{
36
namespace
geode
{
37
namespace
client {
45
class
CPPCACHE_EXPORT
StructSet
:
public
CqResults
{
46
public
:
52
virtual
bool
isModifiable()
const
= 0;
53
59
virtual
int32_t size()
const
= 0;
60
68
virtual
const
SerializablePtr
operator[](int32_t index)
const
= 0;
69
77
virtual
int32_t getFieldIndex(
const
char
* fieldname) = 0;
78
86
virtual
const
char
* getFieldName(int32_t index) = 0;
87
94
virtual
SelectResultsIterator
getIterator() = 0;
95
99
virtual
~StructSet
(){};
100
};
101
}
// namespace client
102
}
// namespace geode
103
}
// namespace apache
104
105
#endif // GEODE_STRUCTSET_H_
CqResults.hpp
Struct.hpp
apache
Each enum represents a predefined RegionAttributes in a {}.
Definition:
Assert.hpp:31
apache::geode::client::StructSet::~StructSet
virtual ~StructSet()
Destructor.
Definition:
StructSet.hpp:99
geode_types.hpp
geode
apache::geode::client::StructSet
Definition:
StructSet.hpp:45
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition:
geode_base.hpp:58
SelectResultsIterator.hpp
apache::geode::client::SelectResultsIterator
Definition:
SelectResultsIterator.hpp:47
apache::geode::client::CqResults
Definition:
CqResults.hpp:43
apache::geode::client::SharedPtr
Defines a reference counted shared pointer.
Definition:
SharedPtr.hpp:52
Pivotal GemFire C++ Cache API Documentation