3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HtmlMaker Class Reference

#include <HtmlMaker.h>

Public Member Functions

cStr GetSubBlock (const char *blockID)
 extract block between and , not including and remove it from the pattern More...
 
void InsertBlock (const char *blockID, const char *text)
 insert additional block between and More...
 

Detailed Description

Example of usage

void InsertTextBlock(HtmlMaker& html, const char* id, int index) { if (strlen(id) < 2)return; if (html.BlocksList.Count() == 0) { cStr sID = html.GetSubBlock("ID"); html.BlocksList.Add(sID); } cStr idb = html.BlocksList[0]; cStr idi = "id"; idi += index; idb.Replace("ID_i", idi); idi = "text"; idi += index; idb.Replace("TEXT_i", idi); idb.Replace("ID_value", id); idb.Replace("TEXT_value", TextManager::GetText(id)); html.InsertBlock("List", idb); }

Member Function Documentation

cStr HtmlMaker::GetSubBlock ( const char *  blockID)
inline

extract block between and , not including and remove it from the pattern

void HtmlMaker::InsertBlock ( const char *  blockID,
const char *  text 
)
inline

insert additional block between and


The documentation for this class was generated from the following file: