Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

XMLNode.hpp File Reference

#include <string>
#include <vector>
#include <map>
#include <sstream>
#include <assert.h>
#include <iomanip>
#include <iostream>
#include "indri/indri-platform.h"
#include "lemur-compat.hpp"

Go to the source code of this file.

Namespaces

namespace  indri
namespace  indri::xml

Functions

std::string i64_to_string (INT64 value)
 Convert an INT64 to a string.

INT64 string_to_i64 (const std::string &str)
 Convert a string to an INT64.

int string_to_int (const std::string &str)
 Convert a string to an int.

std::string base64_encode (const void *input, int length)
int base64_decode (void *output, int outputLength, const std::string &input)
void base64_decode_string (std::string &out, const std::string &in)


Function Documentation

int base64_decode void *  output,
int  outputLength,
const std::string &  input
[inline]
 

Base64 decode a string into an output block of memory

Parameters:
input the input to decode
output the block to decode into
outputLength the length of the output
Returns:
true output length

void base64_decode_string std::string &  out,
const std::string &  in
[inline]
 

Base64 decode a string into a new string

Parameters:
in the input to encode
out the string for the output

std::string base64_encode const void *  input,
int  length
[inline]
 

Base64 encode an input block of memory into a string

Parameters:
input the input to encode
length the length of the input
Returns:
the encoded string

std::string i64_to_string INT64  value  )  [inline]
 

Convert an INT64 to a string.

INT64 string_to_i64 const std::string &  str  )  [inline]
 

Convert a string to an INT64.

int string_to_int const std::string &  str  )  [inline]
 

Convert a string to an int.


Generated on Tue Jun 15 11:02:57 2010 for Lemur by doxygen 1.3.4