EXAMPLE dox
Main Page
Classes
Files
File List
dynamodb_reserved_words.cc
1
/*
2
* dynamodb_reserved_words.cc
3
*
4
* Created on: Mar 25, 2015
5
* Author: csabaraduly
6
*/
7
8
#include "dynamodb_reserved_words.h"
9
#include <string.h>
10
11
namespace
aws
{
12
13
#include "hasher.h"
14
15
bool
DynamoDBReservedWords::is_reserved
(std::string
const
& word)
16
{
17
return
Perfect_Hash::in_word_set(word.c_str(), word.size());
18
}
19
20
#if 0
21
bool
DynamoDBReservedWords::is_reserved
(
const
char
* word)
22
{
23
return
Perfect_Hash::in_word_set(word, strlen(word));
24
}
25
#endif
26
27
}
/* namespace aws */
aws
Definition:
dynamodb_reserved_words.cc:11
aws::DynamoDBReservedWords::is_reserved
static bool is_reserved(std::string const &word)
Check whether a string is a reserved name.
Definition:
dynamodb_reserved_words.cc:15
aws
sdk
src
services
dynamodb
internal
dynamodb_reserved_words.cc
Generated on Fri Mar 27 2015 11:29:41 for EXAMPLE dox by
1.8.9.1