Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F27672619
ewspropertyfield.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
ewspropertyfield.h
View Options
/*
SPDX-FileCopyrightText: 2015-2017 Krzysztof Nowicki <krissn@op.pl>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include
<QSharedDataPointer>
#include
<QXmlStreamWriter>
#include
"ewstypes.h"
class
EwsPropertyFieldPrivate
;
class
EwsPropertyField
{
public
:
enum
Type
{
Field
,
ExtendedField
,
IndexedField
,
UnknownField
,
};
EwsPropertyField
();
explicit
EwsPropertyField
(
const
QString
&
uri
);
// FieldURI
EwsPropertyField
(
const
QString
&
uri
,
unsigned
index
);
// IndexedFieldURI
EwsPropertyField
(
EwsDistinguishedPropSetId
psid
,
unsigned
id
,
EwsPropertyType
type
);
EwsPropertyField
(
EwsDistinguishedPropSetId
psid
,
const
QString
&
name
,
EwsPropertyType
type
);
EwsPropertyField
(
const
QString
&
psid
,
unsigned
id
,
EwsPropertyType
type
);
EwsPropertyField
(
const
QString
&
psid
,
const
QString
&
name
,
EwsPropertyType
type
);
EwsPropertyField
(
unsigned
tag
,
EwsPropertyType
type
);
EwsPropertyField
(
const
EwsPropertyField
&
other
);
~
EwsPropertyField
();
EwsPropertyField
&
operator
=
(
const
EwsPropertyField
&
other
);
bool
operator
==
(
const
EwsPropertyField
&
other
)
const
;
EwsPropertyField
(
EwsPropertyField
&&
other
);
EwsPropertyField
&
operator
=
(
EwsPropertyField
&&
other
);
void
write
(
QXmlStreamWriter
&
writer
)
const
;
bool
read
(
QXmlStreamReader
&
reader
);
bool
writeWithValue
(
QXmlStreamWriter
&
writer
,
const
QVariant
&
value
)
const
;
void
writeValue
(
QXmlStreamWriter
&
writer
,
const
QVariant
&
value
)
const
;
void
writeExtendedValue
(
QXmlStreamWriter
&
writer
,
const
QVariant
&
value
)
const
;
Type
type
()
const
;
QString
uri
()
const
;
private
:
QSharedDataPointer
<
EwsPropertyFieldPrivate
>
d
;
friend
uint
qHash
(
const
EwsPropertyField
&
prop
,
uint
seed
);
friend
QDebug
operator
<<
(
QDebug
debug
,
const
EwsPropertyField
&
prop
);
};
uint
qHash
(
const
EwsPropertyField
&
prop
,
uint
seed
);
QDebug
operator
<<
(
QDebug
debug
,
const
EwsPropertyField
&
prop
);
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Sep 16, 12:58 AM (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3e/25/8dd21c49c2d00cc844aec05b84db
Attached To
rOJ GpgOL.js
Event Timeline
Log In to Comment