InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLOutStream::Attribute Class Reference

#include <IXMLOutStream.h>

Public Types

typedef object_type data_type
 

Public Member Functions

 Attribute ()
 
 Attribute (const WideString &n, const WideString &v)
 
 Attribute (const UTF16TextChar *n, const UTF16TextChar *v)
 
 Attribute (const Attribute &other)
 
const WideStringGetName () const
 
const WideStringGetValue () const
 
bool16 operator== (const Attribute &other) const
 
Attributeoperator= (const Attribute &other)
 

Public Attributes

WideString fName
 
WideString fValue
 

Detailed Description

Nested class for IXMLOutStream methods which take an AttributeList. Defines an attribute for an element

Constructor & Destructor Documentation

IXMLOutStream::Attribute::Attribute ()
inline

Attribute default constructor

IXMLOutStream::Attribute::Attribute (const WideStringn,
const WideStringv 
)
inline

Attribute constructor

Parameters
nname of attribute
vvalue of attribute
IXMLOutStream::Attribute::Attribute (const UTF16TextChar * n,
const UTF16TextChar * v 
)
inline

Attribute constructor

Parameters
nname of attribute
vvalue of attribute
IXMLOutStream::Attribute::Attribute (const Attributeother)
inline

Attribute copy constructor

Member Function Documentation

const WideString& IXMLOutStream::Attribute::GetName (void ) const
inline

Get attribute name

Returns
name of the attribute
const WideString& IXMLOutStream::Attribute::GetValue () const
inline

Get attribute value

Returns
attribute value
Attribute& IXMLOutStream::Attribute::operator= (const Attributeother)
inline

Attribute operator=

bool16 IXMLOutStream::Attribute::operator== (const Attributeother) const
inline

Attribute operator==

Member Data Documentation

WideString IXMLOutStream::Attribute::fValue

attribute name