UaByteRef Class Reference

Helper class for modifying UaByteArray elements. More...

#include <uabytearray.h>

Collaboration diagram for UaByteRef:

List of all members.


Public Member Functions

 operator const char () const
UaByteRefoperator= (char c)
UaByteRefoperator= (const UaByteRef &c)
bool operator== (char c) const
bool operator!= (char c) const
bool operator> (char c) const
bool operator>= (char c) const
bool operator< (char c) const
bool operator<= (char c) const

Friends

class UaByteArray

Detailed Description

Helper class for modifying UaByteArray elements.

UaByteRef


Member Function Documentation

UaByteRef::operator const char (  )  const

ToDoDoc

Returns:
ToDoDoc

UaByteRef & UaByteRef::operator= ( char  c  ) 

Assign operator.

Parameters:
c the char.
Returns:
a reference to the variable.

UaByteRef & UaByteRef::operator= ( const UaByteRef c  ) 

Assign operator.

Parameters:
c the UaByteRef.
Returns:
a reference to the variable.

bool UaByteRef::operator== ( char  c  )  const

Compare variables if they are similar.

Parameters:
c the char to compare.
Returns:
true if not similar false if similar.

bool UaByteRef::operator!= ( char  c  )  const

Returns true if other is not equal to this.

See also:
operator==
Parameters:
c the UaString to compare.
Returns:
true if other is not equal to this.

bool UaByteRef::operator> ( char  c  )  const

Compare different char.

Parameters:
c a char to compare.
Returns:
true if bigger false if not.

bool UaByteRef::operator>= ( char  c  )  const

Compare different char.

Parameters:
c a char to compare.
Returns:
true if bigger or similar false if not.

bool UaByteRef::operator< ( char  c  )  const

Compare different char.

Parameters:
c a char to compare.
Returns:
true if smaler false if not.

bool UaByteRef::operator<= ( char  c  )  const

Compare different char.

Parameters:
c a char to compare.
Returns:
true if similar or smaler false if not.


The documentation for this class was generated from the following files:
  • src/uabase/uabasecpp/uabytearray.h
  • src/uabase/uabasecpp/uabytearray.cpp