OPeNDAP Reference Manual. Generated by Doxygen

Size: px
Start display at page:

Download "OPeNDAP Reference Manual. Generated by Doxygen"

Transcription

1 OPeNDAP Reference Manual Generated by Doxygen Fri Jul 19 23:58:

2

3 Contents 1 OPeNDAP Hierarchical Index OPeNDAP Class Hierarchy OPeNDAP Compound Index OPeNDAP Compound List OPeNDAP Class Documentation Array Class Reference AttrTable Class Reference BaseType Class Reference Byte Class Reference Clause Struct Reference Cmp Class Template Reference Connect Class Reference Connections Class Template Reference DAS Class Reference DataDDS Class Reference DDS Class Reference DODSFilter Class Reference Error Class Reference Float32 Class Reference Float64 Class Reference Grid Class Reference

4 ii CONTENTS 3.17 gse arg Struct Reference GSEClause Class Reference Gui Class Reference Int16 Class Reference Int32 Class Reference InternalErr Class Reference List Class Reference rvalue Class Reference Sequence Class Reference Str Class Reference StrCmp Class Template Reference Structure Class Reference SUCmp Class Template Reference UInt16 Class Reference UInt32 Class Reference Url Class Reference USCmp Class Template Reference Vector Class Reference

5 Chapter 1 OPeNDAP Hierarchical Index 1.1 OPeNDAP Class Hierarchy This inheritance list is sorted roughly, but not completely, alphabetically: HTStream AttrTable DAS AttrTableTest BaseType Byte Constructor Grid Sequence Structure Float Float Int Int Str Url UInt UInt Vector Array List ByteTest cgiutiltest Clause Cmp T1, T

6 2 OPeNDAP Hierarchical Index Connect Connections T DASTest DataDDSTest DDS DataDDS DDSTest DODSFilter DODSFilterTest Error InternalErr generalutiltest gse arg GSEClause Gui parser arg parserutiltest RCReader rvalue SequenceTest StrCmp T1, T SUCmp T1, UT TextTestResult Translation USCmp UT1, T value yy buffer state YYSTYPE

7 Chapter 2 OPeNDAP Compound Index 2.1 OPeNDAP Compound List Here are the classes, structs, unions and interfaces with brief descriptions: Array (A multidimensional array of identical data types) AttrTable (Contains the attributes for a dataset) BaseType (The basic data type for the DODS DAP types) Byte (Holds a single byte) Clause (Holds a fragment of a constraint expression) Cmp T1, T Connect (Holds information about the link from a DODS client to a dataset). 71 Connections T (Holds an ensemble of Connect objects) DAS (Hold attribute data for a DODS dataset) DataDDS (Holds a DODS DDS) DDS DODSFilter (Common functions for DODS server filter programs) Error (A class for error processing) Float32 (Holds a 32-bit floating point value) Float64 (Holds a 64-bit (double precision) floating point value) Grid (Holds the Grid data type) gse arg GSEClause Gui (Implements a graphic user interface for a DODS client) Int16 (Holds a 16-bit signed integer value) Int32 (Holds a 32-bit signed integer) InternalErr (A class for software fault reporting) List (Holds a list of other objects) rvalue Sequence (Holds a sequence)

8 4 OPeNDAP Compound Index Str (Holds character string data) StrCmp T1, T Structure (Holds a structure (aggregate) type) SUCmp T1, UT UInt16 (Holds an unisigned 16-bit integer) UInt32 (Holds a 32-bit unsigned integer) Url (Holds an internet address (URL)) USCmp UT1, T Vector (Holds a one-dimensional collection of DODS data types)

9 Chapter 3 OPeNDAP Class Documentation 3.1 Array Class Reference A multidimensional array of identical data types. #include Array.h Inheritance diagram for Array:: BaseType Vector Array Public Methods Array (const string &n=, BaseType Array constructor. v=0) Array (const Array &rhs) The Array copy constructor. virtual Array ()

10 6 OPeNDAP Class Documentation The Array destructor. Array & operator= (const Array &rhs) virtual BaseType ptr duplicate ()=0 virtual bool read (const string &dataset)=0 void update length (int size) Changes the size property of the array. void append dim (int size, string name= ) Add a dimension of a given size. void add constraint (Pix p, int start, int stride, int stop) Adds a dimension constraint to an Array. void reset constraint () Reset constraint to select entire array. void clear constraint () Clears the projection; add each projected dimension explicitly using add - constraint. Pix first dim () Return first dimension of array. void next dim (Pix &p) Return next array dimension. int dimension size (Pix p, bool constrained=false) Returns the size of the dimension. int dimension start (Pix p, bool constrained=false) Return the start index of a dimension. int dimension stop (Pix p, bool constrained=false) Return the stop index of the constraint. int dimension stride (Pix p, bool constrained=false) Returns the stride value of the constraint. string dimension name (Pix p) Returns the name of the specified dimension. unsigned int dimensions (bool constrained=false)

11 3.1 Array Class Reference 7 Return the total number of dimensions in the array. virtual void print decl (ostream &os, string space=, bool print semi=true, bool constraint info=false, bool constrained=false) Prints a DDS entry for the Array. virtual void print val (ostream &os, string space=, bool print decl p=true) Print the value given the current constraint. virtual bool check semantics (string &msg, bool all=false) Check semantic features of the Array. Protected Methods void duplicate (const Array &a) Detailed Description A multidimensional array of identical data types. This class is used to hold arrays of other DODS data. The elements of the array can be simple or compound data types. There is no limit on the number of dimensions an array can have, or on the size of each dimension. If desired, the user can give each dimension of an array a name. You can, for example, have a 360x180 array of temperatures, covering the whole globe with one-degree squares. In this case, you could name the first dimension Longitude and the second dimension Latitude. This can help prevent a great deal of confusion. The Array is used as part of the Grid class, where the dimension names are crucial to its structure. The dimension names correspond to Map vectors, holding the actual values for that column of the array. Each array dimension carries with it its own projection information. The projection inforamtion takes the form of three integers: the start, stop, and stride values. This is clearest with an example. Consider a one-dimensional array 10 elements long. If the start value of the dimension constraint is 3, then the constrained array appears to be seven elements long. If the stop value is changed to 7, then the array appears to be five elements long. If the stride is changed to two, the array will appear to be 3 elements long. Array constraints are written as: [start:stride:stop]. A = [ ] A[3::] = [ ]

12 8 OPeNDAP Class Documentation A[3::7] = [ ] A[3:2:7] = [4 6 8] A[0:3:9] = [ ] note DODS uses zero-based indexing. See also: Grid, List Definition at line 78 of file Array.h Constructor & Destructor Documentation Array::Array (const string & n =, BaseType v = 0) Array constructor. The Array constructor requires the name of the variable to be created, and the type of data the Array is to hold. The name may be omitted, which will create a nameless variable. The template pointer may also be omitted. Note that if the template pointer is omitted when the Array is created, it must be added (with add var()) before read() or deserialize() is called. n A string containing the name of the variable to be created. v A pointer to a variable of the type to be included in the Array. Definition at line 77 of file Array.cc Member Function Documentation void Array::add constraint (Pix p, int start, int stride, int stop) Adds a dimension constraint to an Array. Once a dimension has been created (see append dim()), it can be constrained. This will make the array appear to the rest of the world to be smaller than it is. This

13 3.1 Array Class Reference 9 functions sets the projection for a dimension, and marks that dimension as part of the current projection. A stride value = 0 or the array size is an error and causes add constraint to return FALSE. Similarly, start or stop values greater than the dimension size will cause a FALSE return value. p An index (of type Pix) pointing to the dimension in the list of dimensions. start The start index of the constraint. stride The stride value of the constraint. stop The stop index of the constraint. void; in case of failure it throws an exception. Definition at line 222 of file Array.cc. References update length void Array::append dim (int size, string name = ) Add a dimension of a given size. Given a size and a name, this function adds a dimension to the array. For example, if the Array is already 10 elements long, calling append dim with a size of 5 will transform the array into a 10x5 matrix. Calling it again with a size of 2 will create a 10x5x2 array, and so on. This sets Vector s length member as a side effect. size The size of the desired new row. name The name of the new dimension. This defaults to an empty string. Definition at line 121 of file Array.cc. References BaseType::name, and update length bool Array::check semantics (string & msg, bool all = false) [virtual] Check semantic features of the Array. This function checks semantic features of the Array. Currently, the only check specific to the Array is that there must be dimensions. The rest is inherited from BaseType::check semantics().

14 10 OPeNDAP Class Documentation A boolean value. FALSE means there was a problem. Reimplemented from Vector. Definition at line 607 of file Array.cc. References BaseType::check semantics void Array::clear constraint () Clears the projection; add each projected dimension explicitly using add - constraint. Tell the Array object to clear the constraint information about dimensions. Do this once before calling add constraint() for each new constraint expression. Only the dimensions explicitly selected using add constraint() will be sent. Definition at line 177 of file Array.cc. References Vector::set length string Array::dimension name (Pix p) Returns the name of the specified dimension. This function returns the name of the dimension indicated with p. Since this method is public, it is possible to call it before the Array object has been properly initialized. This will cause an exception. So don t do that. p The Pix index of the dimension. A pointer to a string containing the dimension name. Definition at line 456 of file Array.cc. References dimension name. Referenced by dimension name int Array::dimension size (Pix p, bool constrained = false) Returns the size of the dimension. Return the size of the array dimension referred to by p. If the dimension is constrained (indicated with the constrained argument), the constrained size is returned.

15 3.1 Array Class Reference 11 p The Pix index of the dimension. constrained If this parameter is TRUE, the function returns the constrained size of the array. If the dimension is not selected, the function returns zero. If it is FALSE, the function returns the dimension size whether or not the dimension is constrained. The default value is FALSE. An integer containing the size of the specified dimension. Definition at line 318 of file Array.cc. Referenced by Grid::check semantics, print val, and Grid::projection yields grid int Array::dimension start (Pix p, bool constrained = false) Return the start index of a dimension. Use this function to return the start index of an array dimension. If the array is constrained (indicated with the constrained argument), the start index of the constrained array is returned (or zero if the dimension in question is not selected at all). See also dimension stop() and dimension stride(). p The Pix index of the dimension. constrained If this parameter is TRUE, the function returns the start index only if the dimension is constrained (subject to a start, stop, or stride constraint). If the dimension is not constrained, the function returns zero. If it is FALSE, the function returns the start index whether or not the dimension is constrained. The desired start index. Definition at line 355 of file Array.cc. References dimension start. Referenced by dimension start, GSEClause::GSEClause, and Grid::projection yields - grid int Array::dimension stop (Pix p, bool constrained = false) Return the stop index of the constraint. Use this function to return the stop index of an array dimension. If the array is constrained (indicated with the constrained argument), the stop index of the constrained array is returned (or zero if the dimension in question is not selected at all). See also dimension start() and dimension stride().

16 12 OPeNDAP Class Documentation p The Pix index of the dimension. constrained If this parameter is TRUE, the function returns the stop index only if the dimension is constrained (subject to a start, stop, or stride constraint). If the dimension is not constrained, the function returns zero. If it is FALSE, the function returns the stop index whether or not the dimension is constrained. The desired stop index. Definition at line 391 of file Array.cc. References dimension stop. Referenced by dimension stop, GSEClause::GSEClause, and Grid::projection yields - grid int Array::dimension stride (Pix p, bool constrained = false) Returns the stride value of the constraint. Use this function to return the stride value of an array dimension. If the array is constrained (indicated with the constrained argument), the stride value of the constrained array is returned (or zero if the dimension in question is not selected at all). See also dimension stop() and dimension start(). p The Pix index of the dimension. constrained If this parameter is TRUE, the function returns the stride value only if the dimension is constrained (subject to a start, stop, or stride constraint). If the dimension is not constrained, the function returns zero. If it is FALSE, the function returns the stride value whether or not the dimension is constrained. The stride value requested, or zero, if constrained is TRUE and the dimension is not selected. Definition at line 428 of file Array.cc. References dimension stride. Referenced by dimension stride, and Grid::projection yields grid unsigned int Array::dimensions (bool constrained = false) Return the total number of dimensions in the array.

17 3.1 Array Class Reference 13 Return the total number of dimensions contained in the array. When constrained is TRUE, return the number of dimensions given the most recently evaluated constraint expression. constrained A boolean flag to indicate whether the array is constrained or not. By default, constrained is FALSE. Definition at line 288 of file Array.cc. References first dim, and next dim. Referenced by Grid::check semantics, and print val Pix Array::first dim () Return first dimension of array. Returns a pointer to the first dimension of the array. Use next dim() to return successive dimensions. A Pix object indicating the first array dimension. Definition at line 257 of file Array.cc. Referenced by Grid::check semantics, dimensions, GSEClause::GSEClause, print val, and Grid::projection yields grid void Array::next dim (Pix & p) Return next array dimension. Given a dimension index, increments it to point to the next dimension. first dim() to return the first dimensions. Use p A Pix object indicating the array dimension immediately before the desired one. A Pix object indicating the array dimension immediately after the one specified by p. Definition at line 272 of file Array.cc. Referenced by Grid::check semantics, dimensions, print val, and Grid::projection - yields grid.

18 14 OPeNDAP Class Documentation void Array::print decl (ostream & os, string space =, bool print semi = true, bool constraint info = false, bool constrained = false) [virtual] Prints a DDS entry for the Array. Prints a declaration for the Array. This is what appears in a DDS. If the Array is constrained, the declaration will allocate only enough space for the constrained values. os An output stream to prin on. space A string containing spaces to precede the declaration. print semi A boolean indicating whether to print a semi-colon after the declaration. (TRUE means print a semi-colon. ) constraint info A boolean value. See BaseType::print decl(). constrained This argument should be TRUE if the Array is constrained, and FALSE otherwise. Reimplemented from Vector. Definition at line 490 of file Array.cc. References BaseType::print decl, print decl, BaseType::print val, BaseType::send p, and Vector::var. Referenced by print decl, and print val void Array::print val (ostream & os, string space =, bool print decl p = true) [virtual] Print the value given the current constraint. Prints the value of the entire (constrained) array. os The output stream to print on. space The space to use in printing. print decl p A boolean value indicating whether you want the Array declaration to precede the Array value. Reimplemented from Vector. Definition at line 570 of file Array.cc. References dimension size, dimensions, first dim, next dim, and print decl.

19 3.1 Array Class Reference virtual bool Array::read (const string & dataset) [pure virtual] This function should read local data and fill in the data buffer. When reading the data, the read function should use the constraint and selection information available for each dimension of the array to decide how much of the array to read. Only the values to be transmitted with serialize() must be read. The implementation of this function is part of creating a new DODS server, and is left for the user. For other details, refer to the description of the read() function in the BaseType class. See also: BaseType::read Implements Vector void Array::reset constraint () Reset constraint to select entire array. Resets the dimension constraint information so that the entire array is selected. Definition at line 148 of file Array.cc. References Vector::set length, and update length void Array::update length (int size) Changes the size property of the array. Deprecated: Changes the size property of the array. If the array exists, it is augmented by a factor of size. This does not change the actual size of the array. Definition at line 51 of file Array.cc. References Vector::length, and Vector::set length. Referenced by add constraint, append dim, and reset constraint. The documentation for this class was generated from the following files: Array.h Array.cc

20 16 OPeNDAP Class Documentation 3.2 AttrTable Class Reference Contains the attributes for a dataset. #include AttrTable.h Inheritance diagram for AttrTable:: AttrTable DAS Public Methods unsigned int get size () const Get the number of entries in this attribute table. string get name () Get the name of this attribute table. AttrTable find container (const string &target) Find an attribute with a given name. Pix find (const string &target, AttrTable at) Find an attribute or container with a given name. void set name (const string &n) Set the name of this attribute table. unsigned int append attr (const string &name, const string &type, const string &value) throw (Error) Add an attribute to the table. unsigned int append attr (const char name, const char type, const char value) throw (Error) AttrTable append container (const string &name) throw (Error) Add a container to the attribute table.

21 3.2 AttrTable Class Reference 17 AttrTable append container (AttrTable at, const string &name) throw (Error) Add a container to the attribute table. void add container alias (const string &name, AttrTable Add an alias to a container held by this attribute table. src) throw (Error) void add value alias (AttrTable das, const string &name, const string &source) throw (Error) Add an alias to an attribute held by this attribute table. bool attr alias (const string &alias, AttrTable Adds an alias to the set of attr alias(). bool attr alias (const string &alias, const string &name) void del attr (const string &name, int i=-1) Deletes an attribute. at, const string &name) void print (ostream &os, string pad=, bool dereference=false) Prints an attribute table. AttrTable append container (const string &name) throw (Error) AttrTable append container (AttrTable at, const string &name) throw (Error) void add container alias (const string &name, AttrTable src) throw (Error) void add value alias (AttrTable das, const string &name, const string &source) throw (Error) void del attr (const string &name, int i=-1) void print (ostream &os, string pad=, bool dereference=false) Instance management functions AttrTable () AttrTable (const AttrTable &rhs) virtual AttrTable () AttrTable & operator= (const AttrTable &rhs) Accessors using an attribute name Each of the following accessors get information using the name of an attribute. They perform a simple search for the name in this attribute table only; sub-tables are not searched and the dot notation is not recognized. AttrTable get attr table (const string &name) Get an attribute container.

22 18 OPeNDAP Class Documentation AttrTable get attr table (const char name) string get type (const string &name) Get the type name of an attribute within this attribute table. string get type (const char name) AttrType get attr type (const string &name) Get the type of an attribute. AttrType get attr type (const char name) unsigned int get attr num (const string &name) Get the number of attributes in this container. unsigned int get attr num (const char name) string get attr (const string &name, unsigned int i=0) Get the value of an attribute. string get attr (const char name, unsigned int i=0) vector string get attr vector (const string &name) Get a vector-valued attribute. vector string get attr vector (const char name) Accessors using a Pix The following accessors get information using a Pix pseudo-index pointer into the AttrTable structure. Pix first attr () Get a reference to the first entry in this attribute table. void next attr (Pix &p) Increment a Pix pointer into the attribute table. string get name (Pix p) Returns the name of the attribute table. bool is container (Pix p) Returns true if the attribute is a container. AttrTable get attr table (Pix p) Return an attribute container. string get type (Pix p) Get the type name of an attribute. AttrType get attr type (Pix p) Get the type of an attribute.

23 3.2 AttrTable Class Reference 19 unsigned int get attr num (Pix p) Get the number of attributes in this container. string get attr (Pix p, unsigned int i=0) Return the value of an attribute. vector string get attr vector (Pix p) Return a vector-valued attribute. Instance management AttrTable () AttrTable (const AttrTable &rhs) virtual AttrTable () AttrTable & operator= (const AttrTable &rhs) get attr table get type unsigned int get size () const string get name () AttrTable find container (const string &target) Pix find (const string &target, AttrTable at) AttrTable get attr table (const string &name) Get an attribute container. AttrTable get attr table (const char name) string get type (const string &name) string get type (const char name) get attr type AttrType get attr type (const string &name) AttrType get attr type (const char name) get attr num get attr unsigned int get attr num (const string &name) unsigned int get attr num (const char name) string get attr (const string &name, unsigned int i=0) string get attr (const char name, unsigned int i=0)

24 20 OPeNDAP Class Documentation get attr vector vector string get attr vector (const string &name) vector string get attr vector (const char name) get information using a Pix Accessors that use names Pix first attr () void next attr (Pix &p) string get name (Pix p) bool is container (Pix p) AttrTable get attr table (Pix p) string get type (Pix p) AttrType get attr type (Pix p) unsigned int get attr num (Pix p) string get attr (Pix p, unsigned int i=0) vector string get attr vector (Pix p) append attr() Adds an attribute to the table. If the given name already refers to an attribute, and the attribute has a value, the given value is appended to the attribute vector. Calling this function repeatedly is the way to append to an attribute vector. The function returns an error condition if the attribute is a container, or if the type of the input value does not match the existing attribute s type. Use append - container() to add container attributes. This method performs a simple search for name in this attribute table only; subtables are not searched and the dot notation is not recognized. Returns the length of the added attribute value. name The name of the attribute to add or modify. type The type of the attribute to add or modify. value The value to add to the attribute table. Accessors that use a pix Accessors void set name (const string &n) unsigned int append attr (const string &name, const string &type, const string &value) throw (Error) unsigned int append attr (const char name, const char type, const char value) throw (Error) attr alias() Adds an alias to the set of attributes. Once an alias is inserted into an attribute table, reading the attributes for alias will return those stored for name. Two forms for this function exist: one searches for name in the AttrTable referenced by at while the other uses this. You can use DAS::get attr table() to get the attribute table for an arbitrary name.

25 3.2 AttrTable Class Reference 21 See also: get attr table Deprecated: bool attr alias (const string &alias, AttrTable at, const string &name) bool attr alias (const string &alias, const string &name) Protected Methods void clone (const AttrTable &at) void simple print (ostream &os, string pad, Pix p, bool dereference) void clone (const AttrTable &at) void simple print (ostream &os, string pad, Pix p, bool dereference) Detailed Description Contains the attributes for a dataset. An AttrTable ( Attribute Table ) stores a set of names and, for each name, either a type and a value, or another attribute table. The attribute value can be a vector containing many values of the same type. The attributes can have any of the types listed in the AttrType list. However, all attribute types are stored as string data, except for the container type, which is stored as a pointer to another attribute table. Each element in the attribute table can itself be an attribute table. The table can also contain alias attributes whose value is given by the value of another attribute to which it is linked. The attribute tables have a standard printed representation. There is a member function print() for writing this form. Use the DAS::parse() function to read the printed form. An attribute table might look something like this: string long_name "Weekly Means of Sea Surface Temperature"; actual_range { Float64 min -1.8; Float64 max 35.09; } string units "degc"; conversion_data { Float64 add_offset 0.; Float64 scale_factor ; } Int32 missing_value 32767;

26 22 OPeNDAP Class Documentation Here, long name, units, and missing value are simple attributes, and actual range and conversion data are container attributes containing other attribute tables. See also: DAS, AttrType Definition at line 108 of file AttrTable.h Member Function Documentation void AttrTable::add container alias (const string & name, AttrTable src) throw (Error) Add an alias to a container held by this attribute table. name The name of the alias. May not use dot notation. src The existing attribute container to alias. Exceptions: Error if an attribute, container or alias called name already exists in this attribute table void AttrTable::add container alias (const string & name, AttrTable src) throw (Error) Add an alias to a container held by this attribute table. name The name of the alias. May not use dot notation. src The existing attribute container to alias. Exceptions: Error if an attribute, container or alias called name already exists in this attribute table. Definition at line 604 of file AttrTable.cc.

27 3.2 AttrTable Class Reference void AttrTable::add value alias (AttrTable das, const string & name, const string & source) throw (Error) Add an alias to an attribute held by this attribute table. name The name of the alias. May not use dot notation. source The name of the attribute to alias. May use dot notation. Exceptions: Error if the attribute table already contains an attribute, container or alias called name or if an attribute called source does not exist void AttrTable::add value alias (AttrTable das, const string & name, const string & source) throw (Error) Add an alias to an attribute held by this attribute table. das name The name of the alias. May not use dot notation. source The name of the attribute to alias. May use dot notation. Exceptions: Error if the attribute table already contains an attribute, container or alias called name or if an attribute called source does not exist. Definition at line 635 of file AttrTable.cc. References attr map, get attr table, and is container. Referenced by attr alias unsigned int AttrTable::append attr (const string & name, const string & type, const string & attr) throw (Error) Add an attribute to the table. If the given name already refers to an attribute, and the attribute has a value, the given value is appended to the attribute vector. Calling this function repeatedly is the way to append to an attribute vector.

28 24 OPeNDAP Class Documentation The function returns an error condition if the attribute is a container, or if the type of the input value does not match the existing attribute s type. Use append container() to add container attributes. This method performs a simple search for name in this attribute table only; sub-tables are not searched and the dot notation is not recognized. Returns the length of the added attribute value. name The name of the attribute to add or modify. type The type of the attribute to add or modify. attr The value to add to the attribute table. Definition at line 511 of file AttrTable.cc AttrTable AttrTable::append container (AttrTable at, const string & name) throw (Error) Append a new attribute container to this attribute table. The new container is at and its name is set to name. If this attribute table already contains an attribute container called name an exception is thrown. A pointer to the new AttrTable object AttrTable AttrTable::append container (const string & name) throw (Error) Create and append an attribute container to this AttrTable. If this attribute table already contains an attribute container called name an exception is thrown. A pointer to the new AttrTable object.

29 3.2 AttrTable Class Reference AttrTable AttrTable::append container (AttrTable at, const string & name) throw (Error) Add a container to the attribute table. Append a new attribute container to this attribute table. The new container is at and its name is set to name. If this attribute table already contains an attribute container called name an exception is thrown. A pointer to the new AttrTable object. Definition at line 576 of file AttrTable.cc AttrTable AttrTable::append container (const string & name) throw (Error) Add a container to the attribute table. Create and append an attribute container to this AttrTable. If this attribute table already contains an attribute container called name an exception is thrown. A pointer to the new AttrTable object. Definition at line 561 of file AttrTable.cc. Referenced by DAS::add table, and DAS::DAS bool AttrTable::attr alias (const string & alias, const string & name) Deprecated: alias The alias to insert into the attribute table. name The name of the already-existing attribute to which the alias will refer bool AttrTable::attr alias (const string & alias, AttrTable at, const string & name) alias The alias to insert into the attribute table.

30 26 OPeNDAP Class Documentation name The name of the already-existing attribute to which the alias will refer. Deprecated: at An attribute table in which to insert the alias bool AttrTable::attr alias (const string & alias, const string & name) Deprecated: alias The alias to insert into the attribute table. name The name of the already-existing attribute to which the alias will refer. Definition at line 711 of file AttrTable.cc. References attr alias bool AttrTable::attr alias (const string & alias, AttrTable at, const string & name) Adds an alias to the set of attr alias(). Once an alias is inserted into an attribute table, reading the attributes for alias will return those stored for name. Two forms for this function exist: one searches for name in the AttrTable referenced by at while the other uses this. You can use DAS::get attr table() to get the attribute table for an arbitrary name. See also: get attr table Deprecated: alias The alias to insert into the attribute table. name The name of the already-existing attribute to which the alias will refer. at An attribute table in which to insert the alias.

31 3.2 AttrTable Class Reference 27 Definition at line 700 of file AttrTable.cc. References add value alias. Referenced by attr alias void AttrTable::clone (const AttrTable & at) [protected] Clone the given attribute table in this void AttrTable::clone (const AttrTable & at) [protected] Clone the given attribute table in this. Definition at line 178 of file AttrTable.cc. References attr map void AttrTable::del attr (const string & name, int i = -1) Delete the attribute named name. If i is given, and the attribute has a vector value, delete the i$ th$ element of the vector. You can use this function to delete container attributes, although the i parameter has no meaning for that operation. name The name of the attribute to delete. This can be an attribute of any type, including containers. However, this method looks only in this attribute table and does not recognize the dot notation. i If the named attribute is a vector, and i is non-negative, the i-th entry in the vector is deleted, and the array is repacked. If i equals -1 (the default), the entire attribute is deleted void AttrTable::del attr (const string & name, int i = -1) Deletes an attribute. Delete the attribute named name. If i is given, and the attribute has a vector value, delete the i$ th$ element of the vector. You can use this function to delete container attributes, although the i parameter has no meaning for that operation.

32 28 OPeNDAP Class Documentation name The name of the attribute to delete. This can be an attribute of any type, including containers. However, this method looks only in this attribute table and does not recognize the dot notation. i If the named attribute is a vector, and i is non-negative, the i-th entry in the vector is deleted, and the array is repacked. If i equals -1 (the default), the entire attribute is deleted. Definition at line 739 of file AttrTable.cc Pix AttrTable::find (const string & target, AttrTable at) Look for an attribute or an attribute container. If used to search for an attribute container, this method returns the container s parent using the value-result parameter at and a reference to the container using the Pix return value. If used to search for an attribute, the attribute s container is returned using at; the attribute itself can be accessed using the Pix return value. target The name (using dot notation) of the attribute or container to find. at A value-result used to return the attribute container in which target was found. Null if target was not found. A Pix which can be used to access target from within at. Null if the attribute or container does not exist Pix AttrTable::find (const string & target, AttrTable at) Find an attribute or container with a given name. Look for an attribute or an attribute container. If used to search for an attribute container, this method returns the container s parent using the value-result parameter at and a reference to the container using the Pix return value. If used to search for an attribute, the attribute s container is returned using at; the attribute itself can be accessed using the Pix return value. target The name (using dot notation) of the attribute or container to find. at A value-result used to return the attribute container in which target was found. Null if target was not found.

33 3.2 AttrTable Class Reference 29 A Pix which can be used to access target from within at. Null if the attribute or container does not exist. Definition at line 56 of file AttrTable.cc. References find container. Referenced by find container AttrTable AttrTable::find container (const string & target) Look in this attribute table for an attribute container named target. The search starts at this attribute table; target should use the dot notation to name containers held within children of this attribute table. To search the entire DAS object, make sure to invoke this method from that object. target The attribute container to find. A pointer to the attribute table or null if the container cannot be found AttrTable AttrTable::find container (const string & target) Find an attribute with a given name. Look in this attribute table for an attribute container named target. The search starts at this attribute table; target should use the dot notation to name containers held within children of this attribute table. To search the entire DAS object, make sure to invoke this method from that object. target The attribute container to find. A pointer to the attribute table or null if the container cannot be found. Definition at line 99 of file AttrTable.cc. References find. Referenced by find, and get attr table.

34 30 OPeNDAP Class Documentation Accessors that use names Pix AttrTable::first attr () Get a reference to the first entry in this attribute table. Pix; returns null if there s nothing in the list Pix AttrTable::first attr () Get a reference to the first entry in this attribute table. Pix; returns null if there s nothing in the list. Definition at line 254 of file AttrTable.cc. Referenced by DAS::first var string AttrTable::get attr (Pix p, unsigned int i = 0) Returns the value of an attribute. If the attribute has a vector value, you can indicate which is the desired value with the index argument, i. If the argument is omitted, the first value is returned. If the attribute has only a single value, the index argument is ignored. If i is greater than the number of elements in the attribute, an error is produced. All values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program. p i The attribute value index, zero-based. If the indicated attribute is a container, this function returns the string None. If using a name to refer to the attribute and the named attribute does not exist, return the empty string.

35 3.2 AttrTable Class Reference string AttrTable::get attr (const string & name, unsigned int i = 0) Get the value of an attribute. If the attribute has a vector value, you can indicate which is the desired value with the index argument, i. If the argument is omitted, the first value is returned. If the attribute has only a single value, the index argument is ignored. If i is greater than the number of elements in the attribute, an error is produced. All values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program string AttrTable::get attr (Pix p, unsigned int i = 0) Return the value of an attribute. Returns the value of an attribute. If the attribute has a vector value, you can indicate which is the desired value with the index argument, i. If the argument is omitted, the first value is returned. If the attribute has only a single value, the index argument is ignored. If i is greater than the number of elements in the attribute, an error is produced. All values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program. p i The attribute value index, zero-based. If the indicated attribute is a container, this function returns the string None. If using a name to refer to the attribute and the named attribute does not exist, return the empty string. Definition at line 415 of file AttrTable.cc string AttrTable::get attr (const string & name, unsigned int i = 0) Get the value of an attribute. Get the value of an attribute. If the attribute has a vector value, you can indicate which is the desired value with the index argument, i. If the argument is omitted, the first value is returned. If the attribute has only a single value, the index argument is ignored. If i is greater than the number of elements in the attribute, an error is produced. All values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program. Definition at line 435 of file AttrTable.cc.

36 32 OPeNDAP Class Documentation unsigned int AttrTable::get attr num (Pix p) If the indicated attribute is a container attribute, this function returns the number of attributes in its attribute table. If the indicated attribute is not a container, the method returns the number of values for the attribute (1 for a scalar attribute, N for a vector attribute value). p The number of elements in the attribute unsigned int AttrTable::get attr num (const string & name) If the indicated attribute is a container attribute, this function returns the number of attributes in its attribute table. If the indicated attribute is not a container, the method returns the number of values for the attribute (1 for a scalar attribute, N for a vector attribute value) unsigned int AttrTable::get attr num (Pix p) Get the number of attributes in this container. If the indicated attribute is a container attribute, this function returns the number of attributes in its attribute table. If the indicated attribute is not a container, the method returns the number of values for the attribute (1 for a scalar attribute, N for a vector attribute value). p The number of elements in the attribute. Definition at line 369 of file AttrTable.cc unsigned int AttrTable::get attr num (const string & name) Get the number of attributes in this container. If the indicated attribute is a container attribute, this function returns the number of attributes in its attribute table. If the indicated attribute is not a container, the method

37 3.2 AttrTable Class Reference 33 returns the number of values for the attribute (1 for a scalar attribute, N for a vector attribute value). Definition at line 385 of file AttrTable.cc AttrTable AttrTable::get attr table (Pix p) Get the attribute container referenced by p. If no such container exists, then return null. p Reference to a table contained by this object. The child attribute table AttrTable AttrTable::get attr table (Pix p) Return an attribute container. Get the attribute container referenced by p. If no such container exists, then return null. p Reference to a table contained by this object. The child attribute table. Definition at line 291 of file AttrTable.cc. References get attr table AttrType AttrTable::get attr type (Pix p) Get the type of an attribute. p The datatype of this attribute in an instance of AttrType.

38 34 OPeNDAP Class Documentation AttrType AttrTable::get attr type (const string & name) Get the type of an attribute using AttrType AttrType AttrTable::get attr type (Pix p) Get the type of an attribute. p The datatype of this attribute in an instance of AttrType. Definition at line 338 of file AttrTable.cc AttrType AttrTable::get attr type (const string & name) Get the type of an attribute. The AttrType value describing the attribute. Definition at line 347 of file AttrTable.cc. References get attr type. Referenced by get attr type vector string AttrTable::get attr vector (Pix p) Returns a pointer to the vector of values associated with the attribute referenced by Pix p or named name. Note that all values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program. p If the indicated attribute is a container, this function returns the null pointer. Otherwise returns a pointer to the the attribute vector value.

39 3.2 AttrTable Class Reference vector string AttrTable::get attr vector (const string & name) Get a pointer to the vector of values associated with the attribute referenced by Pix p or named name. Note that all values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program. If the indicated attribute is a container, this function returns the null pointer. Otherwise returns a pointer to the the attribute vector value vector string AttrTable::get attr vector (Pix p) Return a vector-valued attribute. Returns a pointer to the vector of values associated with the attribute referenced by Pix p or named name. Note that all values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program. p If the indicated attribute is a container, this function returns the null pointer. Otherwise returns a pointer to the the attribute vector value. Definition at line 460 of file AttrTable.cc vector string AttrTable::get attr vector (const string & name) Get a vector-valued attribute. Get a pointer to the vector of values associated with the attribute referenced by Pix p or named name. Note that all values in an attribute table are stored as string data. They may be converted to a more appropriate internal format by the calling program. If the indicated attribute is a container, this function returns the null pointer. Otherwise returns a pointer to the the attribute vector value.

40 36 OPeNDAP Class Documentation Definition at line 479 of file AttrTable.cc. References get attr vector. Referenced by get attr vector string AttrTable::get name (Pix p) Returns the name of the attribute table. Reimplemented in DAS string AttrTable::get name () Get the name of this attribute table. A string containing the name string AttrTable::get name () Get the name of this attribute table. A string containing the name. Definition at line 238 of file AttrTable.cc. Referenced by DAS::get name, print, and simple print unsigned int AttrTable::get size () const Get the number of entries in this attribute table. Attributes that are containers count one attribute, as do attributes with both scalar and vector values. The number of entries.

Binary storage of graphs and related data

Binary storage of graphs and related data EÖTVÖS LORÁND UNIVERSITY Faculty of Informatics Department of Algorithms and their Applications Binary storage of graphs and related data BSc thesis Author: Frantisek Csajka full-time student Informatics

More information

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

KITES TECHNOLOGY COURSE MODULE (C, C++, DS) KITES TECHNOLOGY 360 Degree Solution www.kitestechnology.com/academy.php info@kitestechnology.com technologykites@gmail.com Contact: - 8961334776 9433759247 9830639522.NET JAVA WEB DESIGN PHP SQL, PL/SQL

More information

An Incomplete C++ Primer. University of Wyoming MA 5310

An Incomplete C++ Primer. University of Wyoming MA 5310 An Incomplete C++ Primer University of Wyoming MA 5310 Professor Craig C. Douglas http://www.mgnet.org/~douglas/classes/na-sc/notes/c++primer.pdf C++ is a legacy programming language, as is other languages

More information

AP Computer Science Java Subset

AP Computer Science Java Subset APPENDIX A AP Computer Science Java Subset The AP Java subset is intended to outline the features of Java that may appear on the AP Computer Science A Exam. The AP Java subset is NOT intended as an overall

More information

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON PROBLEM SOLVING WITH SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON Addison Wesley Boston San Francisco New York London

More information

El Dorado Union High School District Educational Services

El Dorado Union High School District Educational Services El Dorado Union High School District Course of Study Information Page Course Title: ACE Computer Programming II (#495) Rationale: A continuum of courses, including advanced classes in technology is needed.

More information

Java Interview Questions and Answers

Java Interview Questions and Answers 1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java

More information

C++ INTERVIEW QUESTIONS

C++ INTERVIEW QUESTIONS C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get

More information

Programming languages C

Programming languages C INTERNATIONAL STANDARD ISO/IEC 9899:1999 TECHNICAL CORRIGENDUM 2 Published 2004-11-15 INTERNATIONAL ORGANIZATION FOR STANDARDIZATION МЕЖДУНАРОДНАЯ ОРГАНИЗАЦИЯ ПО СТАНДАРТИЗАЦИИ ORGANISATION INTERNATIONALE

More information

IS0020 Program Design and Software Tools Midterm, Feb 24, 2004. Instruction

IS0020 Program Design and Software Tools Midterm, Feb 24, 2004. Instruction IS0020 Program Design and Software Tools Midterm, Feb 24, 2004 Name: Instruction There are two parts in this test. The first part contains 50 questions worth 80 points. The second part constitutes 20 points

More information

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement? 1. Distinguish & and && operators. PART-A Questions 2. How does an enumerated statement differ from a typedef statement? 3. What are the various members of a class? 4. Who can access the protected members

More information

The C Programming Language course syllabus associate level

The C Programming Language course syllabus associate level TECHNOLOGIES The C Programming Language course syllabus associate level Course description The course fully covers the basics of programming in the C programming language and demonstrates fundamental programming

More information

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program. Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to

More information

Answers to Review Questions Chapter 7

Answers to Review Questions Chapter 7 Answers to Review Questions Chapter 7 1. The size declarator is used in a definition of an array to indicate the number of elements the array will have. A subscript is used to access a specific element

More information

Glossary of Object Oriented Terms

Glossary of Object Oriented Terms Appendix E Glossary of Object Oriented Terms abstract class: A class primarily intended to define an instance, but can not be instantiated without additional methods. abstract data type: An abstraction

More information

Storage Classes CS 110B - Rule Storage Classes Page 18-1 \handouts\storclas

Storage Classes CS 110B - Rule Storage Classes Page 18-1 \handouts\storclas CS 110B - Rule Storage Classes Page 18-1 Attributes are distinctive features of a variable. Data type, int or double for example, is an attribute. Storage class is another attribute. There are four storage

More information

1. The memory address of the first element of an array is called A. floor address B. foundation addressc. first address D.

1. The memory address of the first element of an array is called A. floor address B. foundation addressc. first address D. 1. The memory address of the first element of an array is called A. floor address B. foundation addressc. first address D. base address 2. The memory address of fifth element of an array can be calculated

More information

VB.NET Programming Fundamentals

VB.NET Programming Fundamentals Chapter 3 Objectives Programming Fundamentals In this chapter, you will: Learn about the programming language Write a module definition Use variables and data types Compute with Write decision-making statements

More information

Masters programmes in Computer Science and Information Systems. Object-Oriented Design and Programming. Sample module entry test xxth December 2013

Masters programmes in Computer Science and Information Systems. Object-Oriented Design and Programming. Sample module entry test xxth December 2013 Masters programmes in Computer Science and Information Systems Object-Oriented Design and Programming Sample module entry test xxth December 2013 This sample paper has more questions than the real paper

More information

Section of DBMS Selection & Evaluation Questionnaire

Section of DBMS Selection & Evaluation Questionnaire Section of DBMS Selection & Evaluation Questionnaire Whitemarsh Information Systems Corporation 2008 Althea Lane Bowie, Maryland 20716 Tele: 301-249-1142 Email: mmgorman@wiscorp.com Web: www.wiscorp.com

More information

COMPUTER SCIENCE. Paper 1 (THEORY)

COMPUTER SCIENCE. Paper 1 (THEORY) COMPUTER SCIENCE Paper 1 (THEORY) (Three hours) Maximum Marks: 70 (Candidates are allowed additional 15 minutes for only reading the paper. They must NOT start writing during this time) -----------------------------------------------------------------------------------------------------------------------

More information

Object-Oriented Design Lecture 4 CSU 370 Fall 2007 (Pucella) Tuesday, Sep 18, 2007

Object-Oriented Design Lecture 4 CSU 370 Fall 2007 (Pucella) Tuesday, Sep 18, 2007 Object-Oriented Design Lecture 4 CSU 370 Fall 2007 (Pucella) Tuesday, Sep 18, 2007 The Java Type System By now, you have seen a fair amount of Java. Time to study in more depth the foundations of the language,

More information

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology)

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology) ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology) Subject Description: This subject deals with discrete structures like set theory, mathematical

More information

5 Arrays and Pointers

5 Arrays and Pointers 5 Arrays and Pointers 5.1 One-dimensional arrays Arrays offer a convenient way to store and access blocks of data. Think of arrays as a sequential list that offers indexed access. For example, a list of

More information

Object Oriented Software Design II

Object Oriented Software Design II Object Oriented Software Design II Introduction to C++ Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa February 20, 2012 G. Lipari (Scuola Superiore Sant Anna) C++ Intro February

More information

Lecture 11 Doubly Linked Lists & Array of Linked Lists. Doubly Linked Lists

Lecture 11 Doubly Linked Lists & Array of Linked Lists. Doubly Linked Lists Lecture 11 Doubly Linked Lists & Array of Linked Lists In this lecture Doubly linked lists Array of Linked Lists Creating an Array of Linked Lists Representing a Sparse Matrix Defining a Node for a Sparse

More information

Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is

Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is preceded by an equal sign d. its name has undereline 2. Associations

More information

Java (12 Weeks) Introduction to Java Programming Language

Java (12 Weeks) Introduction to Java Programming Language Java (12 Weeks) Topic Lecture No. Introduction to Java Programming Language 1 An Introduction to Java o Java as a Programming Platform, The Java "White Paper" Buzzwords, Java and the Internet, A Short

More information

CS193D Handout 06 Winter 2004 January 26, 2004 Copy Constructor and operator=

CS193D Handout 06 Winter 2004 January 26, 2004 Copy Constructor and operator= CS193D Handout 06 Winter 2004 January 26, 2004 Copy Constructor and operator= We already know that the compiler will supply a default (zero-argument) constructor if the programmer does not specify one.

More information

SQL Server An Overview

SQL Server An Overview SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system

More information

Embedded Programming in C/C++: Lesson-1: Programming Elements and Programming in C

Embedded Programming in C/C++: Lesson-1: Programming Elements and Programming in C Embedded Programming in C/C++: Lesson-1: Programming Elements and Programming in C 1 An essential part of any embedded system design Programming 2 Programming in Assembly or HLL Processor and memory-sensitive

More information

Introduction to Computer Graphics with WebGL

Introduction to Computer Graphics with WebGL Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science Laboratory University of New Mexico 1 Programming

More information

Programming Languages CIS 443

Programming Languages CIS 443 Course Objectives Programming Languages CIS 443 0.1 Lexical analysis Syntax Semantics Functional programming Variable lifetime and scoping Parameter passing Object-oriented programming Continuations Exception

More information

DocStore: Document Database for MySQL at Facebook. Peng Tian, Tian Xia 04/14/2015

DocStore: Document Database for MySQL at Facebook. Peng Tian, Tian Xia 04/14/2015 DocStore: Document Database for MySQL at Facebook Peng Tian, Tian Xia 04/14/2015 Agenda Overview of DocStore Document: A new column type to store JSON New Built-in JSON functions Document Path: A intuitive

More information

Variable Base Interface

Variable Base Interface Chapter 6 Variable Base Interface 6.1 Introduction Finite element codes has been changed a lot during the evolution of the Finite Element Method, In its early times, finite element applications were developed

More information

PL/SQL Overview. Basic Structure and Syntax of PL/SQL

PL/SQL Overview. Basic Structure and Syntax of PL/SQL PL/SQL Overview PL/SQL is Procedural Language extension to SQL. It is loosely based on Ada (a variant of Pascal developed for the US Dept of Defense). PL/SQL was first released in ١٩٩٢ as an optional extension

More information

PostgreSQL Functions By Example

PostgreSQL Functions By Example Postgre joe.conway@credativ.com credativ Group January 20, 2012 What are Functions? Introduction Uses Varieties Languages Full fledged SQL objects Many other database objects are implemented with them

More information

Creating Database Tables in Microsoft SQL Server

Creating Database Tables in Microsoft SQL Server Creating Database Tables in Microsoft SQL Server Microsoft SQL Server is a relational database server that stores and retrieves data for multi-user network-based applications. SQL Server databases are

More information

Arrays. number: Motivation. Prof. Stewart Weiss. Software Design Lecture Notes Arrays

Arrays. number: Motivation. Prof. Stewart Weiss. Software Design Lecture Notes Arrays Motivation Suppose that we want a program that can read in a list of numbers and sort that list, or nd the largest value in that list. To be concrete about it, suppose we have 15 numbers to read in from

More information

Implementation Aspects of OO-Languages

Implementation Aspects of OO-Languages 1 Implementation Aspects of OO-Languages Allocation of space for data members: The space for data members is laid out the same way it is done for structures in C or other languages. Specifically: The data

More information

Logging. Working with the POCO logging framework.

Logging. Working with the POCO logging framework. Logging Working with the POCO logging framework. Overview > Messages, Loggers and Channels > Formatting > Performance Considerations Logging Architecture Message Logger Channel Log File Logging Architecture

More information

Portal Connector Fields and Widgets Technical Documentation

Portal Connector Fields and Widgets Technical Documentation Portal Connector Fields and Widgets Technical Documentation 1 Form Fields 1.1 Content 1.1.1 CRM Form Configuration The CRM Form Configuration manages all the fields on the form and defines how the fields

More information

1 Abstract Data Types Information Hiding

1 Abstract Data Types Information Hiding 1 1 Abstract Data Types Information Hiding 1.1 Data Types Data types are an integral part of every programming language. ANSI-C has int, double and char to name just a few. Programmers are rarely content

More information

Building a Multi-Threaded Web Server

Building a Multi-Threaded Web Server Building a Multi-Threaded Web Server In this lab we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous

More information

Introduction to Java

Introduction to Java Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high

More information

Arrays. Atul Prakash Readings: Chapter 10, Downey Sun s Java tutorial on Arrays: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.

Arrays. Atul Prakash Readings: Chapter 10, Downey Sun s Java tutorial on Arrays: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays. Arrays Atul Prakash Readings: Chapter 10, Downey Sun s Java tutorial on Arrays: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html 1 Grid in Assignment 2 How do you represent the state

More information

www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk

www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 Which of the following is a general purpose container? JFrame Dialog JPanel JApplet Which of the following package needs to be import while handling

More information

Kaseya 2. Quick Start Guide. for VSA 6.3

Kaseya 2. Quick Start Guide. for VSA 6.3 Kaseya 2 Custom Reports Quick Start Guide for VSA 6.3 December 9, 2013 Agreement The purchase and use of all Software and Services is subject to the Agreement as defined in Kaseya s Click-Accept EULA as

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.

More information

Using SQL Server Management Studio

Using SQL Server Management Studio Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases

More information

Stacks. Linear data structures

Stacks. Linear data structures Stacks Linear data structures Collection of components that can be arranged as a straight line Data structure grows or shrinks as we add or remove objects ADTs provide an abstract layer for various operations

More information

Tutorial on C Language Programming

Tutorial on C Language Programming Tutorial on C Language Programming Teodor Rus rus@cs.uiowa.edu The University of Iowa, Department of Computer Science Introduction to System Software p.1/64 Tutorial on C programming C program structure:

More information

A binary search tree or BST is a binary tree that is either empty or in which the data element of each node has a key, and:

A binary search tree or BST is a binary tree that is either empty or in which the data element of each node has a key, and: Binary Search Trees 1 The general binary tree shown in the previous chapter is not terribly useful in practice. The chief use of binary trees is for providing rapid access to data (indexing, if you will)

More information

C++FA 5.1 PRACTICE MID-TERM EXAM

C++FA 5.1 PRACTICE MID-TERM EXAM C++FA 5.1 PRACTICE MID-TERM EXAM This practicemid-term exam covers sections C++FA 1.1 through C++FA 1.4 of C++ with Financial Applications by Ben Van Vliet, available at www.benvanvliet.net. 1.) A pointer

More information

Alarms & Events Plug-In Help. 2015 Kepware, Inc.

Alarms & Events Plug-In Help. 2015 Kepware, Inc. 2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 Alarms & Events Plug-In 3 Overview 3 OPC AE Plug-In Terminology 3 OPC AE Plug-In Conditions 4 The OPC AE Plug-In from the OPC AE Clients' Perspective

More information

Perl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl

Perl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl First CGI Script and Perl Perl in a nutshell Prof. Rasley shebang line tells the operating system where the Perl interpreter is located necessary on UNIX comment line ignored by the Perl interpreter End

More information

Introduction to Data Structures

Introduction to Data Structures Introduction to Data Structures Albert Gural October 28, 2011 1 Introduction When trying to convert from an algorithm to the actual code, one important aspect to consider is how to store and manipulate

More information

Sources: On the Web: Slides will be available on:

Sources: On the Web: Slides will be available on: C programming Introduction The basics of algorithms Structure of a C code, compilation step Constant, variable type, variable scope Expression and operators: assignment, arithmetic operators, comparison,

More information

The Clean programming language. Group 25, Jingui Li, Daren Tuzi

The Clean programming language. Group 25, Jingui Li, Daren Tuzi The Clean programming language Group 25, Jingui Li, Daren Tuzi The Clean programming language Overview The Clean programming language first appeared in 1987 and is still being further developed. It was

More information

Operator Overloading. Lecture 8. Operator Overloading. Running Example: Complex Numbers. Syntax. What can be overloaded. Syntax -- First Example

Operator Overloading. Lecture 8. Operator Overloading. Running Example: Complex Numbers. Syntax. What can be overloaded. Syntax -- First Example Operator Overloading Lecture 8 Operator Overloading C++ feature that allows implementer-defined classes to specify class-specific function for operators Benefits allows classes to provide natural semantics

More information

1 External Model Access

1 External Model Access 1 External Model Access Function List The EMA package contains the following functions. Ema_Init() on page MFA-1-110 Ema_Model_Attr_Add() on page MFA-1-114 Ema_Model_Attr_Get() on page MFA-1-115 Ema_Model_Attr_Nth()

More information

Compiler Construction

Compiler Construction Compiler Construction Lecture 1 - An Overview 2003 Robert M. Siegfried All rights reserved A few basic definitions Translate - v, a.to turn into one s own language or another. b. to transform or turn from

More information

Software documentation systems

Software documentation systems Software documentation systems Basic introduction to various user-oriented and developer-oriented software documentation systems. Ondrej Holotnak Ondrej Jombik Software documentation systems: Basic introduction

More information

Data Tool Platform SQL Development Tools

Data Tool Platform SQL Development Tools Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6

More information

Scanner. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit.

Scanner. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit. Scanner The Scanner class is intended to be used for input. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit. For example, suppose the input

More information

C++ Programming Language

C++ Programming Language C++ Programming Language Lecturer: Yuri Nefedov 7th and 8th semesters Lectures: 34 hours (7th semester); 32 hours (8th semester). Seminars: 34 hours (7th semester); 32 hours (8th semester). Course abstract

More information

Numbering Systems. InThisAppendix...

Numbering Systems. InThisAppendix... G InThisAppendix... Introduction Binary Numbering System Hexadecimal Numbering System Octal Numbering System Binary Coded Decimal (BCD) Numbering System Real (Floating Point) Numbering System BCD/Binary/Decimal/Hex/Octal

More information

Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation

Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation Abstract This paper discusses methods of joining SAS data sets. The different methods and the reasons for choosing a particular

More information

Basics of I/O Streams and File I/O

Basics of I/O Streams and File I/O Basics of This is like a cheat sheet for file I/O in C++. It summarizes the steps you must take to do basic I/O to and from files, with only a tiny bit of explanation. It is not a replacement for reading

More information

arrays C Programming Language - Arrays

arrays C Programming Language - Arrays arrays So far, we have been using only scalar variables scalar meaning a variable with a single value But many things require a set of related values coordinates or vectors require 3 (or 2, or 4, or more)

More information

This section describes how LabVIEW stores data in memory for controls, indicators, wires, and other objects.

This section describes how LabVIEW stores data in memory for controls, indicators, wires, and other objects. Application Note 154 LabVIEW Data Storage Introduction This Application Note describes the formats in which you can save data. This information is most useful to advanced users, such as those using shared

More information

Data Structures Using C++ 2E. Chapter 5 Linked Lists

Data Structures Using C++ 2E. Chapter 5 Linked Lists Data Structures Using C++ 2E Chapter 5 Linked Lists Doubly Linked Lists Traversed in either direction Typical operations Initialize the list Destroy the list Determine if list empty Search list for a given

More information

SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay

SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay The Johns Hopkins University, Department of Physics and Astronomy Eötvös University, Department of Physics of Complex Systems http://voservices.net/sqlarray,

More information

2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com

2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com Essential SQL 2 Essential SQL This bonus chapter is provided with Mastering Delphi 6. It is a basic introduction to SQL to accompany Chapter 14, Client/Server Programming. RDBMS packages are generally

More information

13 Classes & Objects with Constructors/Destructors

13 Classes & Objects with Constructors/Destructors 13 Classes & Objects with Constructors/Destructors 13.1 Introduction In object oriented programming, the emphasis is on data rather than function. Class is a way that binds the data & function together.

More information

How To Create A Table In Sql 2.5.2.2 (Ahem)

How To Create A Table In Sql 2.5.2.2 (Ahem) Database Systems Unit 5 Database Implementation: SQL Data Definition Language Learning Goals In this unit you will learn how to transfer a logical data model into a physical database, how to extend or

More information

1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++

1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++ Answer the following 1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++ 2) Which data structure is needed to convert infix notations to postfix notations? Stack 3) The

More information

Utility Software II lab 1 Jacek Wiślicki, jacenty@kis.p.lodz.pl original material by Hubert Kołodziejski

Utility Software II lab 1 Jacek Wiślicki, jacenty@kis.p.lodz.pl original material by Hubert Kołodziejski MS ACCESS - INTRODUCTION MS Access is an example of a relational database. It allows to build and maintain small and medium-sized databases and to supply them with a graphical user interface. The aim of

More information

Passing 1D arrays to functions.

Passing 1D arrays to functions. Passing 1D arrays to functions. In C++ arrays can only be reference parameters. It is not possible to pass an array by value. Therefore, the ampersand (&) is omitted. What is actually passed to the function,

More information

3.GETTING STARTED WITH ORACLE8i

3.GETTING STARTED WITH ORACLE8i Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer

More information

C++ Language Tutorial

C++ Language Tutorial cplusplus.com C++ Language Tutorial Written by: Juan Soulié Last revision: June, 2007 Available online at: http://www.cplusplus.com/doc/tutorial/ The online version is constantly revised and may contain

More information

Introduction to Microsoft Jet SQL

Introduction to Microsoft Jet SQL Introduction to Microsoft Jet SQL Microsoft Jet SQL is a relational database language based on the SQL 1989 standard of the American Standards Institute (ANSI). Microsoft Jet SQL contains two kinds of

More information

public static void main(string[] args) { System.out.println("hello, world"); } }

public static void main(string[] args) { System.out.println(hello, world); } } Java in 21 minutes hello world basic data types classes & objects program structure constructors garbage collection I/O exceptions Strings Hello world import java.io.*; public class hello { public static

More information

Introduction to Python

Introduction to Python Caltech/LEAD Summer 2012 Computer Science Lecture 2: July 10, 2012 Introduction to Python The Python shell Outline Python as a calculator Arithmetic expressions Operator precedence Variables and assignment

More information

CORBA Programming with TAOX11. The C++11 CORBA Implementation

CORBA Programming with TAOX11. The C++11 CORBA Implementation CORBA Programming with TAOX11 The C++11 CORBA Implementation TAOX11: the CORBA Implementation by Remedy IT TAOX11 simplifies development of CORBA based applications IDL to C++11 language mapping is easy

More information

IoT-Ticket.com. Your Ticket to the Internet of Things and beyond. IoT API

IoT-Ticket.com. Your Ticket to the Internet of Things and beyond. IoT API IoT-Ticket.com Your Ticket to the Internet of Things and beyond IoT API Contents 1 Introduction... 4 1.1 Overview... 4 1.2 Abbreviations and definitions... 4 1.3 Data Model... 4 1.4 General Information...

More information

Java CPD (I) Frans Coenen Department of Computer Science

Java CPD (I) Frans Coenen Department of Computer Science Java CPD (I) Frans Coenen Department of Computer Science Content Session 1, 12:45-14:30 (First Java Programme, Inheritance, Arithmetic) Session 2, 14:45-16:45 (Input and Programme Constructs) Materials

More information

Number Representation

Number Representation Number Representation CS10001: Programming & Data Structures Pallab Dasgupta Professor, Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Topics to be Discussed How are numeric data

More information

Semantic Analysis: Types and Type Checking

Semantic Analysis: Types and Type Checking Semantic Analysis Semantic Analysis: Types and Type Checking CS 471 October 10, 2007 Source code Lexical Analysis tokens Syntactic Analysis AST Semantic Analysis AST Intermediate Code Gen lexical errors

More information

1 Posix API vs Windows API

1 Posix API vs Windows API 1 Posix API vs Windows API 1.1 File I/O Using the Posix API, to open a file, you use open(filename, flags, more optional flags). If the O CREAT flag is passed, the file will be created if it doesnt exist.

More information

A primary consequence of the use of networks of computers is the demand for more efficient shared use of data.

A primary consequence of the use of networks of computers is the demand for more efficient shared use of data. RFC 242 NIC 7672 Categories: D.4, D.7 DATA DESCRIPTIVE LANGUAGE FOR SHARED DATA L. Haibt A. Mullery Thomas J. Watson Research Center Yorktown Heights, N.Y. July 19, 1971 Introduction A primary consequence

More information

B) Mean Function: This function returns the arithmetic mean (average) and ignores the missing value. E.G: Var=MEAN (var1, var2, var3 varn);

B) Mean Function: This function returns the arithmetic mean (average) and ignores the missing value. E.G: Var=MEAN (var1, var2, var3 varn); SAS-INTERVIEW QUESTIONS 1. What SAS statements would you code to read an external raw data file to a DATA step? Ans: Infile and Input statements are used to read external raw data file to a Data Step.

More information

An Overview of Java. overview-1

An Overview of Java. overview-1 An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2

More information

A Brief Introduction to MySQL

A Brief Introduction to MySQL A Brief Introduction to MySQL by Derek Schuurman Introduction to Databases A database is a structured collection of logically related data. One common type of database is the relational database, a term

More information

CpSc212 Goddard Notes Chapter 6. Yet More on Classes. We discuss the problems of comparing, copying, passing, outputting, and destructing

CpSc212 Goddard Notes Chapter 6. Yet More on Classes. We discuss the problems of comparing, copying, passing, outputting, and destructing CpSc212 Goddard Notes Chapter 6 Yet More on Classes We discuss the problems of comparing, copying, passing, outputting, and destructing objects. 6.1 Object Storage, Allocation and Destructors Some objects

More information

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca

More information

Oracle For Beginners Page : 1

Oracle For Beginners Page : 1 Oracle For Beginners Page : 1 Chapter 22 OBJECT TYPES Introduction to object types Creating object type and object Using object type Creating methods Accessing objects using SQL Object Type Dependencies

More information

SQL. Short introduction

SQL. Short introduction SQL Short introduction 1 Overview SQL, which stands for Structured Query Language, is used to communicate with a database. Through SQL one can create, manipulate, query and delete tables and contents.

More information

Chapter 5 Names, Bindings, Type Checking, and Scopes

Chapter 5 Names, Bindings, Type Checking, and Scopes Chapter 5 Names, Bindings, Type Checking, and Scopes Chapter 5 Topics Introduction Names Variables The Concept of Binding Type Checking Strong Typing Scope Scope and Lifetime Referencing Environments Named

More information

Facebook Twitter YouTube Google Plus Website Email

Facebook Twitter YouTube Google Plus Website Email PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute

More information