class CASL::NamedValues

Set of named values (a-la dictionary);
parameters of HTTP Requests, Cookies, JSObjects: all this are stored as NamedValues

Public Methods

[more]NamedValues* clone() const
deep copy
[more]int index(char* name) const
[more]int length() const
[more]const char* name(int theIndex)
[more]const Value& operator[](int theIndex) const
[more]const Value& operator[](const char* name) const
[more]Value& operator[](int theIndex)
[more]Value& operator[](const char* name)

Public Members

[more]struct IndexNotFound: public Exception
Indicate, that index of value is not found
[more]struct NameNotFound: public Exception
Indicate, that name of value is not found


Documentation

Set of named values (a-la dictionary);
parameters of HTTP Requests, Cookies, JSObjects: all this are stored as NamedValues
ostruct NameNotFound: public Exception
Indicate, that name of value is not found

ostd::string name

o NameNotFound(const char* szname)

ostruct IndexNotFound: public Exception
Indicate, that index of value is not found

oValue& operator[](const char* name)

oconst Value& operator[](const char* name) const

oValue& operator[](int theIndex)

oconst Value& operator[](int theIndex) const

oint index(char* name) const

oconst char* name(int theIndex)

oint length() const

oNamedValues* clone() const
deep copy


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.