KLDAP Library
ber.h
00001 /* 00002 This file is part of libkldap. 00003 Copyright (c) 2004-2006 Szombathelyi György <gyurco@freemail.hu> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to 00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #ifndef KLDAP_BER_H 00022 #define KLDAP_BER_H 00023 00024 #include <QtCore/QByteArray> 00025 00026 #include "kldap_export.h" 00027 00028 namespace KLDAP { 00029 00034 class KLDAP_EXPORT Ber 00035 { 00036 public: 00040 Ber(); 00044 explicit Ber( const QByteArray &value ); 00048 virtual ~Ber(); 00049 00050 Ber( const Ber &that ); 00051 Ber &operator=( const Ber &that ); 00052 00056 QByteArray flatten() const; 00057 00117 int printf( const QString &format, ... ); 00118 int scanf( const QString &format, ... ); 00119 unsigned int peekTag( int &size ); 00120 unsigned int skipTag( int &size ); 00121 00122 private: 00123 class BerPrivate; 00124 BerPrivate *const d; 00125 }; 00126 00127 } 00128 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:13 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:13 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.