ACE 8.0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
ACE_Configuration_Section_Key Class Reference

Reference counted wrapper for ACE_Section_Key_Internal. More...

#include <Configuration.h>

Collaboration diagram for ACE_Configuration_Section_Key:
Collaboration graph
[legend]

Public Member Functions

 ACE_Configuration_Section_Key ()=default
 Default constructor.
 
 ACE_Configuration_Section_Key (ACE_Section_Key_Internal *key)
 Constructor that initializes to a pointer to a concrete internal key.
 
 ACE_Configuration_Section_Key (const ACE_Configuration_Section_Key &rhs)
 Copy constructor, increments the reference count on the key.
 
 ~ACE_Configuration_Section_Key ()
 Destructor, decrements reference count on the referenced key.
 
ACE_Configuration_Section_Keyoperator= (const ACE_Configuration_Section_Key &rhs)
 

Private Attributes

ACE_Section_Key_Internalkey_ {}
 

Friends

class ACE_Configuration
 

Detailed Description

Reference counted wrapper for ACE_Section_Key_Internal.

Reference counted wrapper class for the abstract internal section key. A user gets one of these to represent a section in the configuration database.

Constructor & Destructor Documentation

◆ ACE_Configuration_Section_Key() [1/3]

ACE_Configuration_Section_Key::ACE_Configuration_Section_Key ( )
default

Default constructor.

◆ ACE_Configuration_Section_Key() [2/3]

ACE_Configuration_Section_Key::ACE_Configuration_Section_Key ( ACE_Section_Key_Internal * key)
explicit

Constructor that initializes to a pointer to a concrete internal key.

Parameters
keyThe section key to reference. Calls add_ref() with key.

◆ ACE_Configuration_Section_Key() [3/3]

ACE_Configuration_Section_Key::ACE_Configuration_Section_Key ( const ACE_Configuration_Section_Key & rhs)

Copy constructor, increments the reference count on the key.

◆ ~ACE_Configuration_Section_Key()

ACE_Configuration_Section_Key::~ACE_Configuration_Section_Key ( )

Destructor, decrements reference count on the referenced key.

Member Function Documentation

◆ operator=()

ACE_Configuration_Section_Key & ACE_Configuration_Section_Key::operator= ( const ACE_Configuration_Section_Key & rhs)

Assignment operator, increments reference count for this object and decrements it on rhs.

Friends And Related Symbol Documentation

◆ ACE_Configuration

Member Data Documentation

◆ key_

ACE_Section_Key_Internal* ACE_Configuration_Section_Key::key_ {}
private

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