Data Structures | Namespaces | Typedefs | Enumerations | Variables

TsValue.h File Reference

TS Configuration API definition. More...

#include <string.h>
#include <ts/TsBuffer.h>
#include <tsconfig/NumericType.h>
#include <tsconfig/IntrusivePtr.h>
#include <tsconfig/Errata.h>
#include <vector>
Include dependency graph for TsValue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ts::config::detail::PseudoBool
 Class to provide a "pseudo bool" value. More...
class  ts::config::Path
 A path to a value in a configuration. More...
class  ts::config::Path::ImplType
class  ts::config::Path::Parser
 Parser for path text. More...
class  ts::config::detail::ValueItem
 A value in the configuration. More...
struct  ts::config::detail::ValueItem::Name
 Hold a child item name in a table for fast lookup. More...
class  ts::config::detail::ValueTableImpl
 Table of configuration values. More...
class  ts::config::detail::ValueTable
 Wrapper class for a table of configuration values. More...
class  ts::config::Configuration
 Container for a configuration. More...
class  ts::config::Value
 This holds a value from the configuration. More...

Namespaces

namespace  ts
 

Apache Traffic Server commons.


namespace  ts::config
namespace  ts::config::detail

Typedefs

typedef NumericType< size_t,
struct ValueIndexTag > 
ts::config::detail::ValueIndex
 Index type for value items in the global table.
typedef NumericType< size_t,
struct GenerationTag > 
ts::config::detail::Generation
 Numeric type for configuration generation.

Enumerations

enum  ts::config::ValueType {
  ts::config::VoidValue, ts::config::ListValue, ts::config::GroupValue, ts::config::StringValue,
  ts::config::IntegerValue, ts::config::PathValue
}
 

Type of value.

More...

Variables

static size_t const ts::config::N_VALUE_TYPES = PathValue + 1
 Number of value types.
Buffer const ts::config::detail::NULL_BUFFER
 Null buffer, handy in several places.
ConstBuffer const ts::config::detail::NULL_CONST_BUFFER
 Null buffer, handy in several places.
static ValueIndex const ts::config::detail::NULL_VALUE_INDEX = static_cast<ValueIndex::raw_type>(-1)
 Index value that presents NULL (invalid value).
static unsigned int const ts::config::detail::IS_VALID = 1
 Value type properties.
static unsigned int const ts::config::detail::IS_LITERAL = 1<<1
static unsigned int const ts::config::detail::IS_CONTAINER = 1<<2
unsigned int const ts::config::detail::Type_Property [N_VALUE_TYPES]
 Value type property table.

Detailed Description

TS Configuration API definition.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file TsValue.h.