reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofBuffer::RLine Struct Reference

#include <ofFileUtils.h>

Public Types

using value_type = std::string
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using pointer = const value_type *
 
using reference = const value_type &
 

Public Member Functions

 RLine (std::vector< char >::reverse_iterator _begin, std::vector< char >::reverse_iterator _end)
 
const std::string & operator* () const
 
const std::string * operator-> () const
 
const std::string & asString () const
 
RLineoperator++ ()
 Increment to the next line.
 
RLine operator++ (int)
 Increment to a number of lines.
 
bool operator!= (RLine const &rhs) const
 
bool operator== (RLine const &rhs) const
 
bool empty () const
 Is this line empty? (aka an empty string "")
 

Detailed Description

A line of text in the buffer.

Member Typedef Documentation

◆ difference_type

using ofBuffer::RLine::difference_type = std::ptrdiff_t

◆ iterator_category

using ofBuffer::RLine::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

using ofBuffer::RLine::value_type = std::string

Constructor & Destructor Documentation

◆ RLine()

ofBuffer::RLine::RLine ( std::vector< char >::reverse_iterator  _begin,
std::vector< char >::reverse_iterator  _end 
)

Member Function Documentation

◆ asString()

const std::string & ofBuffer::RLine::asString ( ) const

◆ empty()

bool ofBuffer::RLine::empty ( ) const

Is this line empty? (aka an empty string "")

◆ operator!=()

bool ofBuffer::RLine::operator!= ( RLine const &  rhs) const

◆ operator*()

const std::string & ofBuffer::RLine::operator* ( ) const

◆ operator++() [1/2]

ofBuffer::RLine & ofBuffer::RLine::operator++ ( )

Increment to the next line.

◆ operator++() [2/2]

ofBuffer::RLine ofBuffer::RLine::operator++ ( int  )

Increment to a number of lines.

◆ operator->()

const std::string * ofBuffer::RLine::operator-> ( ) const

◆ operator==()

bool ofBuffer::RLine::operator== ( RLine const &  rhs) const

The documentation for this struct was generated from the following files:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/utils/ofFileUtils.h
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/utils/ofFileUtils.cpp