PLCnext API Documentation  21.0.0.35466
Public Member Functions | List of all members
Arp::Plc::Commons::Gds::Bit Class Reference

This class represents a single bit data type. More...

#include <Bit.hpp>

Public Member Functions

 Bit (bool value=false)
 Constructs an Bit instance. More...
 
 Bit (const Bit &arg)=default
 Copy constructor. More...
 
Bitoperator= (const Bit &arg)=default
 Assignment operator. More...
 
 ~Bit (void)=default
 Destructs this instance and frees all resources. More...
 
 operator bool (void) const
 Overload of operator bool. More...
 
bool IsSet (void) const
 Returns the state of a Bit object. More...
 

Detailed Description

This class represents a single bit data type.

Constructor & Destructor Documentation

◆ Bit() [1/2]

Arp::Plc::Commons::Gds::Bit::Bit ( bool  valueArg = false)
inline

Constructs an Bit instance.

Constructs and initializes a Bit object.

◆ Bit() [2/2]

Arp::Plc::Commons::Gds::Bit::Bit ( const Bit arg)
default

Copy constructor.

◆ ~Bit()

Arp::Plc::Commons::Gds::Bit::~Bit ( void  )
default

Destructs this instance and frees all resources.

Member Function Documentation

◆ IsSet()

bool Arp::Plc::Commons::Gds::Bit::IsSet ( void  ) const
inline

Returns the state of a Bit object.

◆ operator bool()

Arp::Plc::Commons::Gds::Bit::operator bool ( void  ) const
inline

Overload of operator bool.

◆ operator=()

Bit& Arp::Plc::Commons::Gds::Bit::operator= ( const Bit arg)
default

Assignment operator.


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