LibreOffice Module writerfilter (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
writerfilter::ooxml::OOXMLBooleanValue Class Referencefinal

#include <OOXMLPropertySet.hxx>

Inheritance diagram for writerfilter::ooxml::OOXMLBooleanValue:
[legend]
Collaboration diagram for writerfilter::ooxml::OOXMLBooleanValue:
[legend]

Public Member Functions

virtual ~OOXMLBooleanValue () override
 
 OOXMLBooleanValue (OOXMLBooleanValue const &)=default
 
 OOXMLBooleanValue (OOXMLBooleanValue &&)=default
 
OOXMLBooleanValueoperator= (OOXMLBooleanValue const &)=delete
 
OOXMLBooleanValueoperator= (OOXMLBooleanValue &&)=delete
 
virtual int getInt () const override
 Returns integer representation of the value. More...
 
virtual css::uno::Any getAny () const override
 Returns representation of the value as uno::Any. More...
 
virtual std::string toString () const override
 Returns string representation of this value. More...
 
virtual OOXMLValueclone () const override
 
- Public Member Functions inherited from writerfilter::ooxml::OOXMLValue
 OOXMLValue ()
 
virtual ~OOXMLValue () override
 
 OOXMLValue (OOXMLValue const &)=default
 
 OOXMLValue (OOXMLValue &&)=default
 
OOXMLValueoperator= (OOXMLValue const &)=default
 
OOXMLValueoperator= (OOXMLValue &&)=default
 
virtual int getInt () const override
 Returns integer representation of the value. More...
 
virtual OUString getString () const override
 Returns string representation of the value. More...
 
virtual css::uno::Any getAny () const override
 Returns representation of the value as uno::Any. More...
 
virtual writerfilter::Reference< Properties >::Pointer_t getProperties () override
 Returns properties of this value. More...
 
virtual writerfilter::Reference< BinaryObj >::Pointer_t getBinary () override
 Returns binary object of this value. More...
 
virtual std::string toString () const override
 Returns string representation of this value. More...
 
virtual OOXMLValueclone () const
 
virtual int getInt () const =0
 Returns integer representation of the value. More...
 
virtual OUString getString () const =0
 Returns string representation of the value. More...
 
virtual css::uno::Any getAny () const =0
 Returns representation of the value as uno::Any. More...
 
virtual writerfilter::Reference< Properties >::Pointer_t getProperties ()=0
 Returns properties of this value. More...
 
virtual writerfilter::Reference< BinaryObj >::Pointer_t getBinary ()=0
 Returns binary object of this value. More...
 
virtual std::string toString () const =0
 Returns string representation of this value. More...
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Static Public Member Functions

static OOXMLValue::Pointer_t const & Create (bool bValue)
 
static OOXMLValue::Pointer_t const & Create (std::string_view pValue)
 

Private Member Functions

 OOXMLBooleanValue (bool bValue)
 

Private Attributes

bool mbValue
 

Additional Inherited Members

- Public Types inherited from writerfilter::ooxml::OOXMLValue
typedef tools::SvRef< OOXMLValuePointer_t
 
- Public Types inherited from writerfilter::Value
typedef tools::SvRef< ValuePointer_t
 Pointer to a value. More...
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 97 of file OOXMLPropertySet.hxx.

Constructor & Destructor Documentation

◆ OOXMLBooleanValue() [1/3]

writerfilter::ooxml::OOXMLBooleanValue::OOXMLBooleanValue ( bool  bValue)
explicitprivate

Definition at line 227 of file OOXMLPropertySet.cxx.

Referenced by clone().

◆ ~OOXMLBooleanValue()

writerfilter::ooxml::OOXMLBooleanValue::~OOXMLBooleanValue ( )
overridevirtual

Definition at line 232 of file OOXMLPropertySet.cxx.

◆ OOXMLBooleanValue() [2/3]

writerfilter::ooxml::OOXMLBooleanValue::OOXMLBooleanValue ( OOXMLBooleanValue const &  )
default

◆ OOXMLBooleanValue() [3/3]

writerfilter::ooxml::OOXMLBooleanValue::OOXMLBooleanValue ( OOXMLBooleanValue &&  )
default

Member Function Documentation

◆ clone()

OOXMLValue * writerfilter::ooxml::OOXMLBooleanValue::clone ( ) const
overridevirtual

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 253 of file OOXMLPropertySet.cxx.

References OOXMLBooleanValue().

◆ Create() [1/2]

OOXMLValue::Pointer_t const & writerfilter::ooxml::OOXMLBooleanValue::Create ( bool  bValue)
static

◆ Create() [2/2]

OOXMLValue::Pointer_t const & writerfilter::ooxml::OOXMLBooleanValue::Create ( std::string_view  pValue)
static

Definition at line 222 of file OOXMLPropertySet.cxx.

References Create(), and writerfilter::ooxml::GetBooleanValue().

◆ getAny()

uno::Any writerfilter::ooxml::OOXMLBooleanValue::getAny ( ) const
overridevirtual

Returns representation of the value as uno::Any.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 241 of file OOXMLPropertySet.cxx.

References mbValue.

◆ getInt()

int writerfilter::ooxml::OOXMLBooleanValue::getInt ( ) const
overridevirtual

Returns integer representation of the value.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 236 of file OOXMLPropertySet.cxx.

References mbValue.

◆ operator=() [1/2]

OOXMLBooleanValue & writerfilter::ooxml::OOXMLBooleanValue::operator= ( OOXMLBooleanValue &&  )
delete

◆ operator=() [2/2]

OOXMLBooleanValue & writerfilter::ooxml::OOXMLBooleanValue::operator= ( OOXMLBooleanValue const &  )
delete

◆ toString()

std::string writerfilter::ooxml::OOXMLBooleanValue::toString ( ) const
overridevirtual

Returns string representation of this value.

Reimplemented from writerfilter::ooxml::OOXMLValue.

Definition at line 247 of file OOXMLPropertySet.cxx.

References mbValue.

Member Data Documentation

◆ mbValue

bool writerfilter::ooxml::OOXMLBooleanValue::mbValue
private

Definition at line 99 of file OOXMLPropertySet.hxx.

Referenced by getAny(), getInt(), and toString().


The documentation for this class was generated from the following files: