<!-- $XConsortium: RepTypGC.sgm /main/8 1996/09/08 20:58:34 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN372.rsml.1">
<RefMeta>
<RefEntryTitle>XmRepTypeGetRecord</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmRepTypeGetRecord</Function></RefName>
<RefPurpose>A representation type manager function that
returns information about a representation type
<IndexTerm>
<Primary>XmRepTypeGetRecord</Primary>
</IndexTerm><IndexTerm>
<Primary>representation type manager functions</Primary>
<Secondary>XmRepTypeGetRecord</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/RepType.h>
</FuncSynopsisInfo>
<FuncDef>XmRepTypeEntry <Function>XmRepTypeGetRecord</Function></FuncDef>
<!--<ParamDef><Replaceable>rep_type_id</Replaceable></ParamDef>-->
<ParamDef>XmRepTypeId <Parameter>rep_type_id</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmRepTypeGetRecord</Function> retrieves information about
a particular representation type that is registered with
the representation type manager. This routine allocates
memory for the returned data. The application must free
this memory using <Function>XtFree</Function>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">rep_type_id</Symbol></Term>
<ListItem>
<Para>The identification number of the representation type
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>The representation type entry structure contains the following
information:
</Para>
<FuncSynopsis>
<FuncSynopsisInfo>typedef struct
{
        String  <Replaceable>rep_type_name</Replaceable>;
        String  *<Replaceable>value_names</Replaceable>;
        unsigned char   *<Replaceable>values</Replaceable>;
        unsigned char   <Replaceable>num_values</Replaceable>;
        Boolean <Replaceable>reverse_installed</Replaceable>;
        XmRepTypeId     <Replaceable>rep_type_id</Replaceable>;
} XmRepTypeEntryRec, *XmRepTypeEntry;
</FuncSynopsisInfo>
<FuncDef></FuncDef>
<void>
</FuncSynopsis>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">rep_type_name</Symbol></Term>
<ListItem>
<Para>The name of the representation type
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">value_names</Symbol></Term>
<ListItem>
<Para>An array of representation type value names
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">values</Symbol></Term>
<ListItem>
<Para>An array of representation type numerical values
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">num_values</Symbol></Term>
<ListItem>
<Para>The number of values associated with the representation type
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">reverse_installed</Symbol></Term>
<ListItem>
<Para>A flag that indicates whether or not the reverse converter is
installed
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">rep_type_id</Symbol></Term>
<ListItem>
<Para>The identification number of the representation type
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns a pointer to the representation type entry structure that
describes the representation type.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmRepTypeGetId;,
&cdeman.XmRepTypeGetRegistered;, and
&cdeman.XmRepTypeRegister;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
