• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDECore

  • KConfigIniBackend
  • BufferFragment
Public Member Functions

KConfigIniBackend::BufferFragment Class Reference

#include <bufferfragment_p.h>

List of all members.

Public Member Functions

 BufferFragment ()
 BufferFragment (char *buf, int size)
char at (unsigned int i) const
void clear ()
const char * constData () const
char * data () const
int indexOf (char c, unsigned int from=0) const
bool isEmpty () const
bool isNull () const
int lastIndexOf (char c) const
BufferFragment left (unsigned int size) const
int length () const
BufferFragment mid (unsigned int pos, int length=-1) const
bool operator!= (const QByteArray &other) const
bool operator== (const QByteArray &other) const
BufferFragment split (char c, unsigned int *start)
QByteArray toByteArray () const
QByteArray toVolatileByteArray () const
void trim ()
void truncate (unsigned int pos)
void truncateLeft (unsigned int size)

Detailed Description

Definition at line 36 of file bufferfragment_p.h.


Constructor & Destructor Documentation

KConfigIniBackend::BufferFragment::BufferFragment ( ) [inline]

Definition at line 41 of file bufferfragment_p.h.

KConfigIniBackend::BufferFragment::BufferFragment ( char *  buf,
int  size 
) [inline]

Definition at line 45 of file bufferfragment_p.h.


Member Function Documentation

char KConfigIniBackend::BufferFragment::at ( unsigned int  i) const [inline]

Definition at line 54 of file bufferfragment_p.h.

void KConfigIniBackend::BufferFragment::clear ( ) [inline]

Definition at line 60 of file bufferfragment_p.h.

const char* KConfigIniBackend::BufferFragment::constData ( ) const [inline]

Definition at line 65 of file bufferfragment_p.h.

char* KConfigIniBackend::BufferFragment::data ( ) const [inline]

Definition at line 70 of file bufferfragment_p.h.

int KConfigIniBackend::BufferFragment::indexOf ( char  c,
unsigned int  from = 0 
) const [inline]

Definition at line 145 of file bufferfragment_p.h.

bool KConfigIniBackend::BufferFragment::isEmpty ( ) const [inline]

Definition at line 99 of file bufferfragment_p.h.

bool KConfigIniBackend::BufferFragment::isNull ( ) const [inline]

Definition at line 121 of file bufferfragment_p.h.

int KConfigIniBackend::BufferFragment::lastIndexOf ( char  c) const [inline]

Definition at line 155 of file bufferfragment_p.h.

BufferFragment KConfigIniBackend::BufferFragment::left ( unsigned int  size) const [inline]

Definition at line 104 of file bufferfragment_p.h.

int KConfigIniBackend::BufferFragment::length ( ) const [inline]

Definition at line 49 of file bufferfragment_p.h.

BufferFragment KConfigIniBackend::BufferFragment::mid ( unsigned int  pos,
int  length = -1 
) const [inline]

Definition at line 126 of file bufferfragment_p.h.

bool KConfigIniBackend::BufferFragment::operator!= ( const QByteArray &  other) const [inline]

Definition at line 140 of file bufferfragment_p.h.

bool KConfigIniBackend::BufferFragment::operator== ( const QByteArray &  other) const [inline]

Definition at line 135 of file bufferfragment_p.h.

BufferFragment KConfigIniBackend::BufferFragment::split ( char  c,
unsigned int *  start 
) [inline]

Definition at line 87 of file bufferfragment_p.h.

QByteArray KConfigIniBackend::BufferFragment::toByteArray ( ) const [inline]

Definition at line 166 of file bufferfragment_p.h.

QByteArray KConfigIniBackend::BufferFragment::toVolatileByteArray ( ) const [inline]

Definition at line 172 of file bufferfragment_p.h.

void KConfigIniBackend::BufferFragment::trim ( ) [inline]

Definition at line 75 of file bufferfragment_p.h.

void KConfigIniBackend::BufferFragment::truncate ( unsigned int  pos) [inline]

Definition at line 116 of file bufferfragment_p.h.

void KConfigIniBackend::BufferFragment::truncateLeft ( unsigned int  size) [inline]

Definition at line 109 of file bufferfragment_p.h.


The documentation for this class was generated from the following file:
  • bufferfragment_p.h

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal