Struct
Class::Struct::FIELDS module combine Class::Struct, base and fields. SYNOPSIS (This page documents Class::Struct::FIELDS v.1.1.) use Class::Struct::FIELDS; # declare struct, based on fields, explicit class name: struct (CLASS_NAME => { ELEMENT_NAME => ELEMENT_TYPE, ... }); use...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (92): Class::Struct::FIELDS Download |
C::DynaLib::Struct is a tool for handling the C `struct data type. SYNOPSIS use C::DynaLib::Struct; Define C::DynaLib::Struct( $struct_tag, $template0, @field_names0, [$template1, @field_names1,] ... ); $rstruct = tie( $struct, $struct_tag [, @initializer_list] ); $value =...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (98): C::DynaLib::Struct Download |
Inline::Struct is a Perl module that manipulate C structures directly from Perl. SYNOPSIS use Inline C => Config => Structs => [Foo]; my $obj = Inline::Struct::Foo->new; $obj->num(10); $obj->str("Hello"); myfunc($obj); __END__ __C__ struct Foo { int num; char *str; }; void...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (93): Inline::Struct Download |
Struct::Compare is a recursive diff for perl structures. SYNOPSIS use Struct::Compare; my $is_different = compare($ref1, $ref2); Compares two values of any type and structure and returns true if they are the same. It does a deep comparison of the structures, so a hash of a hash of a...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (97): Struct::Compare Download |
Test::Struct is a Perl extension for testing for structural equivelence. SYNOPSIS use Test::Struct; deep_eq($hairy_struct,$expected,Hairy structural test); is($x,$y); # and everything else Test::More has to offer! Test::Struct is used for doing deep structural comparisons of two objects....
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (95): Test::Struct Download |
This function allows to save all the variables from the current workspace into a struct arraySometimes you need to save the variables from your base workspace, but using "save" function will have them all stored individually so if you reload them into a new workspace it could be a mess, and some...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Save Workspace to Struct Download |
Accepts a 1-dimensional struct array (in the format 1xn) and converts it into a cell array. The first row of the cell array has the struct's field names in each column; the data from each of those fields for each entry in the struct array appears in subsequent rows. The idea is to make it easy to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Convert Struct to Cell Array With Column Headers Download |
Given a cell or a struct, is is sometimes usefull to know the tree from the main to the farthest branch.The trees are returned as string cells, based on the data type. Each path can be effectively executed using Matlab built-in eval() function.The sorting of struct is also implemented, with some...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Cell/Struct Tree, and Struct Sorting Download |
MATLAB CONTOURC returns a contour matrix that summarizes the contour lines. Although compact, it takes an extra step to decipher the matrix. CONTOURCS wraps CONTOURC function to return the content of the contour matrix as an easily accessible structure array.S = CONTOURCS(Z) returns a struct...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): contourcs: to obtain contourc output as a struct array Download |
This package contains two functions CELLEQ and STRUCTEQ which compare two cell arrays or two structures respectively. The cells/structs may internally contain more nested cell and struct arrays which are compared recursively.Feature summary:* Support for nested structures/cell arrays* Return of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Compare Nested Cell & Struct Arrays Recursively Download |
Usage: new = struct2struct(old)If 'old' is a scalar struct containing arrays (each with the same number of rows, N) then 'new' will be an N-by-1 struct-array whose fields have a single row.If 'old' is an N-by-1 struct-array whose fields have a single row (e.g. as returned above) then 'new' will...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (39): Struct array conversion Download |
Print a struct to file. The output can be aligned to be more human-readable, or be separated by a specified delimiter.Requires the getarg function.Ex:struct2File( s, 'c:file.txt', 'align', true, 'sort', false );
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): struct2File Download |
STRUCT2TABLE(S) displays a table with the field names in the headlineand one row for each struct element: # [field name 1] [field name 2] ......
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): struct2table Download |
Have you ever tried to inspect and modify deeply nested struct/cell variables? Of course, MATLABs variable editor will help to visualise these variables. However, to create such a variable automatically or to change some of the deeply nested fields routinely this submission may be useful.The main...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Generate .m-file code for any MATLAB variable Download |
Exceptions in C implements fully-functional nested exceptions with these constructs: try except on throw Also, it allows to define various datatypes for exception object (default is int, can be anything from char * to struct foo *). Compiling and running Precodey straight forward....
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (116): Exceptions in C Download |
Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes. SYNOPSIS use strict; use Acme::Hyperindex; my @struct = ( { j_psi => [qw( eta_prime phi kaon )] }, { j_psi => [qw( selectron down tau_sneutrino )] }, { j_psi => [qw( upsilon gluino photino )] } );...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (97): Acme::Hyperindex Download |
Coronet project is a library which implements an epoll and coroutine based library that allows for async operations over certain kinds of files. Any file that supports poll(2) and the O_NONBLOCK fcntl(2) flag can be hosted; this includes like sockets and pipes. The coronet library uses the...
Platforms: *nix
License: Freeware | Size: 348.16 KB | Download (94): Coronet Download |
tinybind is an add-on library for the tinyxml XML parser that makes it easy to "bind" a C++ struct definition to an XML file format for easy serializing and deserializing. It supports nested structs and STL containers.. Get tinybind at SourceForge.net. Fast, secure and free downloads from the...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (97): tinybind Download |
Cspot is a semantic annotator designed only for the C programming language. It is quite similar to cscope, but some more functionality. Cspot project can be used to find the declarations, definitions, and usages of functions, variables, macros, typedefs, and structs. It can also find visible...
Platforms: *nix
License: Freeware | Size: 266.24 KB | Download (105): Cspot Download |
Unpack/pack dictionary tool, it supports the following dictionaries formats: DSL + IPA Transcription, XDXF, TI/StarDict, TI/Folder Struct; Core (Perl) requires HFS+. Designed for using with TranslateIt! Deluxe.
Platforms: Mac
License: Freeware | Size: 901.12 KB | Download (51): DictBuilder Download |