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

GUTF8String::GUTF8String ( const GUTF8String fmt,
va_list &  args 
)

Constructs a string with a formatted string (as in vprintf#). The string is re-initialized with the characters generated according to the specified format fmt# and using the optional arguments. See the ANSI-C function vprintf()# for more information. The current implementation will cause a segmentation violation if the resulting string is longer than 32768 characters.

Definition at line 2672 of file GString.cpp.

References GPBase::ptr, and vformat().

{ 
  if (fmt.ptr)
    init(fmt->vformat(args));
  else 
    init(fmt); 
}


Generated by  Doxygen 1.6.0   Back to index