SbName man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



								   SbName(3IV)

NAME
     SbName (SbName) - character string stored in a hash table

INHERITS FROM
     SbName

SYNOPSIS
     #include <Inventor_c/SbString.h>

	  Functions from class SbName:

     SbName *		 SbNameCreate()
     SbName *		 SbNameCreateStr(const char *s)
     SbName *		 SbNameCreateSbStr(const SbString *s)
     SbName *		 SbNameCreateSbName(const SbName *n)
     void		 SbNameDelete(SbName *this)
     const char *	 SbNameGetStr(const SbName *this)
     int		 SbNameGetLen(const SbName *this)
     SbBool		 SbNameIsIdentStartChar(char c)
     SbBool		 SbNameIsIdentChar(char c)
     int		 SbNameNot(const SbName *this)
     int		 SbNameIsEq(SbName *this, const SbName *n1, const
			      SbName *n2)
     int		 SbNameIsEqStr(SbName *this, const SbName *n, const
			      char *s)
     int		 SbNameIsNEq(SbName *this, const SbName *n1, const
			      SbName *n2)
     int		 SbNameIsNEqStr(SbName *this, const SbName *n, const
			      char *s)

DESCRIPTION
     This class of strings stores the string in a hash table. It is used by
     the Inventor toolkit for keywords and other unique names. It is not
     recommended for general use (only in the context of Inventor objects).
     When a string is stored in this table, a pointer to the storage is
     returned. Two identical strings will return the same pointer. This means
     that comparison of two SbNames for equality can be accomplished by
     comparing their identifiers. SbNames are used for strings which are
     expected to show up frequently, such as node names.

FUNCTIONS
     SbName *		 SbNameCreate()
     SbName *		 SbNameCreateStr(const char *s)
     SbName *		 SbNameCreateSbStr(const SbString *s)
     SbName *		 SbNameCreateSbName(const SbName *n)
     void		 SbNameDelete(SbName *this)
	  Constructors and destructor.

     const char *	 SbNameGetStr(const SbName *this)
	  Returns pointer to the character string.

Page 1

SbName(3IV)

     int		 SbNameGetLen(const SbName *this)
	  Returns length of string.

     SbBool		 SbNameIsIdentStartChar(char c)
	  Returns TRUE if given character is a legal starting character for an
	  identifier.

     SbBool		 SbNameIsIdentChar(char c)
	  Returns TRUE if given character is a legal nonstarting character for
	  an identifier.

     int		 SbNameNot(const SbName *this)
	  Unary "not" operator; returns TRUE if string is empty ("").

     int		 SbNameIsEq(SbName *this, const SbName *n1, const
			      SbName *n2)
     int		 SbNameIsEqStr(SbName *this, const SbName *n, const
			      char *s)
	  Equality operator for SbName/char* and SbName/SbName comparison.

     int		 SbNameIsNEq(SbName *this, const SbName *n1, const
			      SbName *n2)
     int		 SbNameIsNEqStr(SbName *this, const SbName *n, const
			      char *s)
	  Inequality operator for SbName/char* and SbName/SbName comparison.

FILE FORMAT/DEFAULTS
     Name {
     }

SEE ALSO
     SbString

Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net