Logo Search packages:      
Sourcecode: cbflib version File versions  Download package

def pycbf::cbf_handle_struct::set_typeofvalue (   args  ) 

Returns : string
*args   : 

C prototype: int cbf_set_typeofvalue (cbf_handle handle,
         const char *typeofvalue);

CBFLib documentation:
DESCRIPTION
cbf_set_typeofvalue sets the type of the item at the current column 
and row to the type specified by the ASCII character string given by 
typeofvalue. The strings that may be used are "null" for a null 
value indicated by a "." or a "?", "word" for an unquoted 
string, "dblq" for a double-quoted string, "sglq" for a 
single-quoted string, and "text" for a semicolon-quoted text field. 
Not all types may be used for all values. No changes may be made to 
the type of binary values. You may not set the type of a string that 
contains a single quote followed by a blank or a tab or which 
contains multiple lines to "sglq". You may not set the type of a 
string that contains a double quote followed by a blank or a tab or 
which contains multiple lines to "dblq".
ARGUMENTS
handle        CBF handle. typeofvalue   ASCII string for desired type 
of value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO

Definition at line 2552 of file pycbf.py.

02552                               :
        """
        Returns : string
        *args   : 

        C prototype: int cbf_set_typeofvalue (cbf_handle handle,
                         const char *typeofvalue);

        CBFLib documentation:
        DESCRIPTION
        cbf_set_typeofvalue sets the type of the item at the current column 
        and row to the type specified by the ASCII character string given by 
        typeofvalue. The strings that may be used are "null" for a null 
        value indicated by a "." or a "?", "word" for an unquoted 
        string, "dblq" for a double-quoted string, "sglq" for a 
        single-quoted string, and "text" for a semicolon-quoted text field. 
        Not all types may be used for all values. No changes may be made to 
        the type of binary values. You may not set the type of a string that 
        contains a single quote followed by a blank or a tab or which 
        contains multiple lines to "sglq". You may not set the type of a 
        string that contains a double quote followed by a blank or a tab or 
        which contains multiple lines to "dblq".
        ARGUMENTS
        handle        CBF handle. typeofvalue   ASCII string for desired type 
        of value.
        RETURN VALUE
        Returns an error code on failure or 0 for success.
        SEE ALSO

        """
        return _pycbf.cbf_handle_struct_set_typeofvalue(*args)


Generated by  Doxygen 1.6.0   Back to index