Safir SDK Core
Loading...
Searching...
No Matches
Members.h
Go to the documentation of this file.
1/******************************************************************************
2*
3* Copyright Saab AB, 2006-2013 (http://safirsdkcore.com)
4*
5* Created by: Lars Hagström / stlrha
6*
7*******************************************************************************
8*
9* This file is part of Safir SDK Core.
10*
11* Safir SDK Core is free software: you can redistribute it and/or modify
12* it under the terms of version 3 of the GNU General Public License as
13* published by the Free Software Foundation.
14*
15* Safir SDK Core is distributed in the hope that it will be useful,
16* but WITHOUT ANY WARRANTY; without even the implied warranty of
17* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18* GNU General Public License for more details.
19*
20* You should have received a copy of the GNU General Public License
21* along with Safir SDK Core. If not, see <http://www.gnu.org/licenses/>.
22*
23******************************************************************************/
24
25#ifndef __DOTS_MEMBERS_H__
26#define __DOTS_MEMBERS_H__
27
28
31
32namespace Safir
33{
34namespace Dob
35{
36namespace Typesystem
37{
165}
166}
167}
168
169#endif
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
DotsC_Int32 Int32
32 bit integer type.
Definition Defs.h:66
DotsC_CollectionType CollectionType
An enumeration of all possible collection types of an object member.
Definition Defs.h:293
DotsC_TypeId TypeId
A unique type identifier.
Definition Defs.h:218
DotsC_MemberType MemberType
An enumeration of all possible types of an object member.
Definition Defs.h:278
DotsC_MemberIndex MemberIndex
The index of a member in an object.
Definition Defs.h:237
DOTS_CPP_API Dob::Typesystem::MemberIndex GetIndex(const Dob::Typesystem::TypeId typeId, const std::wstring &memberName)
Get the member index of a named member.
DOTS_CPP_API Dob::Typesystem::Int32 GetMaxStringLength(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member)
Get the maximum string length of a member.
DOTS_CPP_API std::wstring GetName(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member)
Get the name of the specified member as it was defined in the xml description.
DOTS_CPP_API Dob::Typesystem::Int32 GetArraySize(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member)
Get the array size of a member.
DOTS_CPP_API void GetInfo(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member, Dob::Typesystem::MemberType &memberType, Dob::Typesystem::MemberType &keyType, const char *&memberName, Dob::Typesystem::TypeId &memberTypeId, Dob::Typesystem::TypeId &keyTypeId, Dob::Typesystem::Int32 &stringLength, Dob::Typesystem::CollectionType &collectionType, Dob::Typesystem::Int32 &arrayLength)
Get information about a specific class member.
DOTS_CPP_API Dob::Typesystem::Int32 GetNumberOfMembers(const Dob::Typesystem::TypeId typeId)
Get the number of members for a class or property.
DOTS_CPP_API Dob::Typesystem::TypeId GetTypeId(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member)
Get type id of object or enumeration member.
DOTS_CPP_API std::wstring GetTypeName(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member)
Get the type name of the specified member as it was defined in the xml description.
#define DOTS_CPP_API
Definition Defs.h:33