Personal tools
You are here: Home Projects C++ Cfront releases Release 3.0.3 source incl-master const-headers g2comp.h
Document Actions

g2comp.h

by Michael L Powell last modified 2007-01-26 03:20

Click here to get the file

Size 1.5 kB - File type text/plain

File contents

/*ident	"@(#)G2++:incl/g2comp.h	3.2" */
/******************************************************************************
*
* C++ Standard Components, Release 3.0.
*
* Copyright (c) 1991, 1992 AT&T and Unix System Laboratories, Inc.
* Copyright (c) 1988, 1989, 1990 AT&T.  All Rights Reserved.
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T and Unix System
* Laboratories, Inc.  The copyright notice above does not evidence
* any actual or intended publication of such source code.
*
******************************************************************************/

#ifndef G2COMPH
#define G2COMPH

#include <g2io.h>
#include <g2tree.h>
#include <Block.h>
#include <Map.h>
#include <String.h>

//  ASC strings are used to prepopulate the symbol table 
//  so that CHAR, SHORT, LONG are recognized as keywords 
//  to indicate char, short, and long data types. 

const String CHAR_ASC_ATTLC   = int_to_str(CHAR_INT_ATTLC);
const String SHORT_ASC_ATTLC  = int_to_str(SHORT_INT_ATTLC);
const String LONG_ASC_ATTLC   = int_to_str(LONG_INT_ATTLC);
const String STRING_ASC_ATTLC = int_to_str(STRING_INT_ATTLC);

const int G2MOTHER_ATTLC=0xAAAA;

void desc(
    G2NODE*, 
    const String&, 
    FILE*
);
G2NODE* lookup(
    const String&
);
void tdef(
    G2NODE*, 
    FILE*,
    FILE*
);
String upper(
    const String& s
);

struct udt_info_ATTLC{
    Block<String> headers;
    int		header_count;
    String 	put;
    String 	get;
    String	null;
    String	isnull;
    // udt_info():headers(10){}  -- blowing up.  Why?
};

extern Map<String,udt_info_ATTLC> udt_map_ATTLC;

#endif
« October 2014 »
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: