• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

bt::Array

bt::Array< T > Class Template Reference

#include <array.h>

Inheritance diagram for bt::Array< T >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class T>
class bt::Array< T >

Author:
Joris Guisson

Template array classes, makes creating dynamic buffers easier and safer.

Definition at line 36 of file array.h.


Public Member Functions

 Array (Uint32 num=0)
void fill (T val)
 operator const T * () const
 operator T * ()
const T & operator[] (Uint32 i) const
T & operator[] (Uint32 i)
Uint32 size () const
 ~Array ()

Constructor & Destructor Documentation

template<class T>
bt::Array< T >::Array ( Uint32  num = 0  )  [inline]

Definition at line 41 of file array.h.

template<class T>
bt::Array< T >::~Array (  )  [inline]

Definition at line 47 of file array.h.


Member Function Documentation

template<class T>
void bt::Array< T >::fill ( T  val  )  [inline]

Fill the array with a value.

Parameters:
val The value

Definition at line 65 of file array.h.

template<class T>
bt::Array< T >::operator const T * (  )  const [inline]

Definition at line 55 of file array.h.

template<class T>
bt::Array< T >::operator T * (  )  [inline]

Definition at line 56 of file array.h.

template<class T>
const T& bt::Array< T >::operator[] ( Uint32  i  )  const [inline]

Definition at line 53 of file array.h.

template<class T>
T& bt::Array< T >::operator[] ( Uint32  i  )  [inline]

Definition at line 52 of file array.h.

template<class T>
Uint32 bt::Array< T >::size (  )  const [inline]

Get the number of elements in the array.

Definition at line 59 of file array.h.


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

kget

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

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
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