Lucene++ - a full-featured, c++ search engine
API Documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
include
lucene++
Base64.h
Go to the documentation of this file.
1
2
// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3
// Distributable under the terms of either the Apache License (Version 2.0)
4
// or the GNU Lesser General Public License.
6
7
#ifndef BASE64_H
8
#define BASE64_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene
{
13
14
class
LPPAPI
Base64
:
public
LuceneObject
{
15
public
:
16
virtual
~Base64
();
17
LUCENE_CLASS
(
Base64
);
18
19
protected
:
20
static
const
String
BASE64_CHARS
;
21
22
public
:
23
static
String
encode
(ByteArray bytes);
24
static
String
encode
(
const
uint8_t* bytes, int32_t length);
25
static
ByteArray
decode
(
const
String& str);
26
27
protected
:
28
static
bool
isBase64
(
wchar_t
ch);
29
};
30
31
}
32
33
#endif
LuceneObject.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition
LuceneObject.h:24
Lucene::Base64
Definition
Base64.h:14
Lucene::Base64::BASE64_CHARS
static const String BASE64_CHARS
Definition
Base64.h:20
Lucene::Base64::encode
static String encode(ByteArray bytes)
Lucene::Base64::encode
static String encode(const uint8_t *bytes, int32_t length)
Lucene::Base64::decode
static ByteArray decode(const String &str)
Lucene::Base64::isBase64
static bool isBase64(wchar_t ch)
Lucene::Base64::~Base64
virtual ~Base64()
Lucene::LuceneObject::LuceneObject
LuceneObject()
Lucene
Definition
AbstractAllTermDocs.h:12
clucene.sourceforge.net