rippled
Public Member Functions | Private Attributes | List of all members
ripple::InverseAlphabet Class Reference
Collaboration diagram for ripple::InverseAlphabet:
Collaboration graph
[legend]

Public Member Functions

 InverseAlphabet (std::string const &digits)
 
int operator[] (char c) const
 

Private Attributes

std::array< int, 256 > map_
 

Detailed Description

Definition at line 281 of file tokens.cpp.

Constructor & Destructor Documentation

◆ InverseAlphabet()

ripple::InverseAlphabet::InverseAlphabet ( std::string const &  digits)
explicit

Definition at line 287 of file tokens.cpp.

Member Function Documentation

◆ operator[]()

int ripple::InverseAlphabet::operator[] ( char  c) const

Definition at line 296 of file tokens.cpp.

Member Data Documentation

◆ map_

std::array<int, 256> ripple::InverseAlphabet::map_
private

Definition at line 284 of file tokens.cpp.