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

KDECore

  • KConfigIniBackend
  • BufferFragment
Public Member Functions | List of all members
KConfigIniBackend::BufferFragment Class Reference

#include <bufferfragment_p.h>

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal