|
An Information Portal to Biological Macromolecular Structures |
||
|
PDB Home |
Contact Us |
Software Tools Home | Dictionary Home | PDBML Home | |
InsertAt
#include "CifString.h" void CifString::InsertAt(usigned p, const char *s, usigned n) void CifString::InsertAt(usigned p, const char *s) void CifString::InsertAt(usigned p, const char c) void CifString::InsertAt(usigned p,const CifString &s)
#include "CifString.h"
CifString a;
a.InsertAt("CifString");
InsertAt(usigned, const char *, usigned) Inserts the text in s, up to n bytes, at position p.
InsertAt(usigned, const char *) Inserts the null-terminated text in s, at position p.
InsertAt(usigned, const char) Inserts one character in c, at position p.
InsertAt(usigned,const CifString &) Inserts the text in s, at position p.
| p | starting position |
| s | null-terminated string |
| n | number of bytes copied |
| p | starting position |
| s | null-terminated string |
| p | starting position |
| c | null-terminated string |
| p | starting position |
| s | null-terminated string |
Returns number of elements inserted, or 0 if error.
CifString may grow if necessary and can. May have to truncate.